1 Reply Latest reply on Dec 21, 2011 8:47 AM by Mauricio Salatino

    Can we go back to a task in a Workflow

    Sridhar J Newbie

      Hi,

       

      If we have three tasks in a workflow and once when we reach the third task and Complete it,  based on a routing condition we may want to go back to Second Task in the workflow. This may happen recursively based on the Routing condition check after Completing the third task.

       

      Is it possible to move backwards in a workflow in jbpm 5.1

       

      Thanks and Regards

      Sridhar J

        • 1. Re: Can we go back to a task in a Workflow
          Mauricio Salatino Master

          Are you talking about Human Tasks / User Tasks or WorkItems / Service Tasks? I think that for both situations is almos the same. You will need to create a gateway and a couple of sequence flows to do the loop. But before doing that I would like to understand what are you trying to accomplish. Usually people try to map some technical decision in the flow and that usually complicates the implementations.

          Cheers