Let's say I've a requirement where in a stage, there are 4 steps:
- step 1
- step 2
- step 3
- step 4
Steps 2 and 3 need to start in parallel. It is also a must that these are two different steps. They cannot be moved into a single step and then start two processes in parallel.
The only current option seems that start step 2 and step 3 "upon stage entry". But that creates bad user experience where user sees step 2 and step 3 "in progress" whereas user wants to complete step 1 and then only see these steps as active.
Why doesn't Pega allow this or provide better handling?
For making 2 steps executing parallel you can use sub-process smart shape with spin-off flow option enabled.
After step 1 place 2 sub-process to handle step 2 and step 3 logic and enable spin-off flow option. With this configuration after user completed step 1 only pega will try to execute step 2 and step 3 logic in parallel.
With this configuration you can avoid case progress chevron showing wrong information.
By using pega OOTB case type feature you will be able to execute 2 process parallel, but for executing 2 steps parallel you can only use sub-process with spin-off flow option.
Posted: 9 months ago
Updated: 9 months ago
Posted: 8 Dec 2021 11:11 EST Updated: 8 Dec 2021 11:12 EST
@GunaSekaran_B The moment you introduce spin off, you start that process as independent from parent process (which is wrong in case of current requirements). Also your step will be completed immediately when the process is spun off (there is nothing to wait for in the step as flow is spun off).
Posted: 11 months ago
Posted: 3 Nov 2021 13:58 EDT
Olivia Christmann (chrio)
1. How would a parallel process work in this situation? You may be able to create a parallel process for the stage that all 4 steps are currently in. Then, move the third step to the new stage of the parallel process. Or
2. Create 2 multistep processes and enable "step upon stage entry" for both processes
3. Use RDA and Robotic Activities to queue and run sequentially