1 Reply Latest reply on Jan 16, 2012 6:48 AM by eaa

    Can we have multiple instance with sequential task execution?

    hadik

      Hi,

       

      When we use multiple instance subprocess we get all the tasks executed parallel.

      How can I get it If I need them executed sequentially?

       

      That is all instances should not execute at the same time but they should be created after one instance task get completed.

       

      As well as I want to know that if it is possible to use ad hoc process with multiple instance sub process or not? I tried once but it didn't work for me.

        • 1. Re: Can we have multiple instance with sequential task execution?
          eaa

          If you want your dynamic tasks to get sequentially executed you don't need a multiple instance node. What you can do is to create some kind of loop in your process. Something like:

          1. Configure task data (maybe a script task, subprocess or a Rule Task)
          2. Human Task
          3. X-OR Gateway checking if all the needed tasks were executed
            1. If 3 is true, then continue
            2. If 3 is false, go to 1

           

          Best Regards,

          1 of 1 people found this helpful