1 Reply Latest reply on Aug 25, 2015 3:11 AM by jimmy001

    Paralle Execution, Multi instantiation

    chakra bandla Newbie


      Suppose there is an organization with following structure:

      * ManagerX & ManagerY report to CEO.

      * EmployeeX1 & EmployeeX2 report to ManagerX.

      * EmployeeY1 & EmployeeY2 report to ManagerY.


      I want to implement following scenario using jBPM.


      * STEP1 :

         With just one click, CEO will directly ask all the employees to submit a report  i.e., each employee will have a task to do.

      *  STEP2 :

         Each employee will individually prepare their report & submit it to their respective manager (not CEO)

         As soon as an employee submits a report, Each manager should receive a task without waiting for others to complete i.e, when EmployeeX1 & EmployeeX2 submit their report, ManagerX will have two tasks.

      *  STEP3 :

         Manager will check his subordinate's report & submit it to CEO.

         Here also, as soon as a manager submits a report, CEO should receive a task without waiting for others to complete i.e.,  i.e, when ManagerX & ManagerY submit their report, CEO will have multiple tasks.


      (In my scenario, managers are not part of employee group. They are in separate group. They just authorize their subordinate's report & forward to CEO)


      Basically, I want every task that was instantiated in STEP1 to continue until the end without waiting for others to complete.


      Kindly let me know if I can achieve that using jBPM.

      Is it a valid workflow/BPM?


      Thank you very much for your time.