none
Activity Ids in a workflow RRS feed

  • Question

  • They appear to be deterministic, i.e. for identical workflows, the activity Ids for their activities are also identical. Is there any rule or algorithm that determine the activity Ids?
    Monday, May 16, 2011 10:01 AM

Answers

  • I think they are based on index of Activities among children of their parents according to WorfklowInspectionServices. This would probably be deterministic if CacheMetadata() of your activities sets the children colection deterministically.
    Tim
    Tuesday, May 17, 2011 5:28 AM
    Moderator

All replies

  • I think they are based on index of Activities among children of their parents according to WorfklowInspectionServices. This would probably be deterministic if CacheMetadata() of your activities sets the children colection deterministically.
    Tim
    Tuesday, May 17, 2011 5:28 AM
    Moderator
  • What is the exact algorithm?
    Thursday, May 19, 2011 4:57 PM
  • I don't think anyone will tell you the exact algorithm here, but since it's MSIL you can understand it by using ildasm or reflector (or free alternatives).
    Tim

    Saturday, May 21, 2011 8:10 PM
    Moderator