What I have?
I have a state machine list workflow created for an event management system. It has got 5 states defined and it is working fine. The workflow will start on creation of an item in the list.
What I want?
Now, the customer wants some changes to that. He want the user who is starting the workflow to choose a template which defines the states and state transitions in the workflow.
What problem am I facing?
There can be many such templates and it really hard to create different workflows for each of them. So, what I want is to create states dynamically by referring to the template selected.
Can somebody please tell me if it is possible? If yes, how? Or, is there any alternative way to achieve this?
Thanks in advance!