Hi,

I have 5 screens in a screen flow, work object will save on the last step.

In the 2nd and 3rd screen, I want to route the work object to different operators, how to achieve it?

---> Using subprocess advance shape need to split the flow and create different screen flows and assign them accordingly

  1. The first 2 steps would be in screenflow1. So once the user executes this 2 steps case will be saved as screenflow1 ends.
  2. Step 3 & 4 in ScreenFlow 2 and this can be routed to any other user. So once the user executes this 2 steps case will be saved as screenflow2 ends.
  3. Similarly 5 & 6 in ScreenFlow 3

Is there another way Please let me know?

    Mukkram
    With the given requirement, the approach that you have suggested would be the most appropriate.

    Let's say if you don't have any dependency between data and completion of Screen flow 1,2 & 3 you can also spin-off sub-process to different users. This requires a special handling in terms of locking.

    ospteam Could you please elaborate This requires special handling in terms of locking. will be really helpful.

      ospteam
      If the tasks to be performed are dependent on each other, then we can use sub-process (Screen flow) with normal execution.

      If the tasks to be performed are not dependent on each other, then we can spin-off the sub-process (Screen flow) which will end up creating parallel assignments.

      Since our second approach creates parallel assignments, consideration of the locking mechanism is a must. Optimistic locking is preferred in these scenarios.

      Note: Sub-process spin-off might turn out to be an overhead if the business justification is not proper. Hence a careful consideration is required on finalizing the approach.

        8 days later

        Thanks, Team for the reply

          Write a Reply...

          -An Initiative Of OneStopPega- Love our work? Support Us🖤