Answered How to rewind an activity in wf4.0?

  • quinta-feira, 26 de abril de 2012 09:41
     
     

    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?

Todas as Respostas

  • sexta-feira, 27 de abril de 2012 20:22
    Moderador
     
     Respondido

    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

    • Marcado como Resposta LeoTangModerator quinta-feira, 3 de maio de 2012 08:47
    •