I was wondering, how to get an Id for a simple activity. For example:
Sequence s = new Sequence();
string id = s.Id;
The id is always null and as it has a private Setter I cannot set this value.
Under which circumstances will this value be filled with an Id and by whom?
Thanks a lot for your answers.
The ID is set when you use the WorkflowDesigner or at runtime. But even then it can be tricky to work with because it can take on a different form in the WorkflowDesigner depending on how you load the workflow.