Hello,
I am using Orchestration Process template in UiPath Studio, I noticed that when we have more than 1 Action Center task pending, and 1 of those tasks is completed by user in Action Center, the logic would not leave the Parallel For Each (the one inside Wait in Current Process), unless ALL pending tasks have been completed.
This is a problem in the process I am working on, because I have some logic to be done by the robot, including creating another Action Center task.
Let’s say we have multi-level approval workflow as follows:
- Supervisor
- Manager
- Director
and let’s say we have 2 transactions of the same type to go through the approvals above.
Case 1:
- Supervisor - approved
- Manager - pending
Case 2:
- Supervisor - approved
In Case 2, once the Task 1 (supervisor) approves, we should create the next task in Action Center for Manager to approve but because Task 2 in Case 1 is still pending, the logic would not leave the Parallel For Each, and it does not make sense to create another action center task within the Parallel For Each.
What I need is that after an Action Centre task is done, the logic should go back to invoke BusinssProcess (check attached screenshot of Main workflow), even when there is still other tasks pending in Action Center.
Otherwise, I will need to start another job of the same process after persisting the state in Excel file for example. This is not ideal because the process preferably runs only 1 time per day.
Please advise on how to do this, maybe I need to change the design because in the original Orchestration Template, there is no loop to go back to BusinessProcess InvokeWorkflow activity so I am not sure how it was meant to be used.
Main Workflow screenshot: