Reputation: 3258
I'm using a state machine to control the steps of a wizard in an ASP MVC solution. Each state represents a page and creates a bookmark when it is reached.
When using the wizard the first transition works fine but subsequent transitions do not because a new controller is created per action and therefore a new workflow application too, losing my bookmarks. I'd prefer not to persist my workflow - I'd rather simply pass in what page/state I'm currently on and start from there. Is this possible?
Upvotes: 0
Views: 633
Reputation: 27632
No, it always starts at the top. If you want/need to force it into a specific state you will need to model that into your state machine workflow.
Upvotes: 1