Is it possible to create workflows dynamically? I need to generate a WF dynamically based on a set of business logic and service execution sequence I get as input to the system. Is it possible for me to generate the workflow.xaml dynamically without using the wf designer and execute in the cloud ?
Is it possible to create workflows dynamically? I need to generate a WF dynamically
Share
Yes – you can create xaml file using simple file I/O routines or XML manipulation libraries but the best bet would be using XamlXmlWriter class.
Once workflow xaml is ready, you can execute it using (as sighted in this article)
You can also load activities from xaml in WF4 – check this article for the same.