Parallel execution

Hi,
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 Bonita.

** 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.

Kindly let me know if I can achieve that using Bonita.
Is it a valid workflow?

EDIT:
I want every task that was instantiated in STEP1 to continue until the end without waiting for others to complete.
(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)

Thank you very much for your time.

Hi,

To answer the question is this a valid workflow - Yes this is a perfectly valid workflow.

To answer the question can this be done in Bonita - Yes this can be done in Bonita.

However - you haven’t addressed the issue of Managers are also Employees. So who will review their reports? The CEO?

You will eventually end up with a big problem here, in your example:

Manager 1 will review 2 items
Manager 2 will review 2 items

CEO will review 6 items

and so on…CEO should delegate.

regards
Seán

I got below answer from some other BPM community forum. Thank you Maciej Swiderski for the answer.


you can implement it using multi instance subprocess that include three user tasks in sequence:

employee user task —> manager user task —> CEO user task

then such sub process will be created for each employee independently meaning employees, managers and ceos can work on individual tasks in complete isolation.

to start such process you would have to provide list of employees, their managers and ceo as input to multi instance subprocess that operates on a collection. Each collection item will proceed same path - these three user tasks before completing.


Also, Sean McP Thank you very much for your time & suggestion

Hi Sean,
Thank you very much for the reply & suggestion.

I tried to implement this using Bonita Community edition 7 by referring to Multi-Instantiated-Task-Example.
i.e., I configured “parallel multi-instantiation” option (under “General → Iteration”).

I could achieve STEP1 of my scenario. But to proceed to STEP2, everyone involved in STEP1 should complete their task (I don’t want to use “Early completion condition”, as I want every employee to submit their report).

I want every task that was instantiated in STEP1 to continue until the end without waiting for others to complete.
(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)

Kindly let me know how can I achieve that.
Thank you very much for your time.