I am new to web-flow so please bear with me.
I want to directly access action state from the given webflow. For eg. If I am trying to access
"/ecommerce?eventId=addToCart" this is redirecting me to the default view-state which is selectProduct. This call should be made from ajax.
Following is excerpt from my ecommerce flow
<view-state id="selectProduct" view="pages/ecommerce/products">
<transition on="addToCart" to="addProductToCart"/>
<evaluate expression="eCommerceService.addRateCard()" />