locked
How to rewind an activity in wf4.0? RRS feed

  • Question

  • Suppose there are 5 activities in workflow Service (xamlx) and 2nd and 5th activity need to run again by user by any control mechanism. Please help me how to control this and how to re run those activities. Is flowchart a solution?

    Thursday, April 26, 2012 9:41 AM

Answers

  • If you want to allow rewinding or fastforwarding from any point A to any other point B you're probably going to be modelling this as a triggering event which resumes a bookmark (e.g. receive activity, delay activity, custom activity), and this makes State Machine seem like a better option than Flowchart (to me).

    Sadly, it might not look very pretty because you have to model each supported transition explicitly in advance.
    Tim

    • Marked as answer by LeoTang Thursday, May 3, 2012 8:47 AM
    Friday, April 27, 2012 8:22 PM