I have built a workflow by using the Wizard component. Due to changes in business logic, I now need to change a specific step of the workflow as the initial workflow step (so basically switching two steps position in the workflow). This seems to be impossible. No matter with which step the workflow starts according to the graph and no matter what I set as "Set initial step dynamically", the behavior of the first steps and the original initial step won't work correctly.
Here the issues:
-
The "Previous" button link is being displayed on the first (initial) step. This button link shouldn't be there especially as clicking on it will lead to nowhere since this is the first step in the graph.
-
Clicking on "Reset" should reset the workflow and I should end up on the initial step. This doesn't work, clicking on it I end up on the original initial step, regardless of what step I set in "Set initial step dynamically".
-
Once I click my way through the step and arrive at the original initial workflow step, there is no "Previous" button anymore.
Is there any other, better way how I can promote a workflow step to be the initial workflow step? Because my problem is that the two steps I want to switch are quite component and logic rich. Copying the components from one to the other step and vice versa is huge amount of effort.