If we use Subprocess with spinoff and route the assignments to 2 diff operator will we be able to open it?

We have a process flow which is calling and Sub flow with spinoff..
Process flow has Start shape, Assignment1, Subprocess, assingment2(ROUTE to OP1).
Sub flow has AssingmentSub1 (routed to OP2)…
Now, OP1 and OP2 has their assignments in WL. Both of this Operators try to open their assignments at same time. Will they be able to process or not?

Can we work on the assignments at same time?

Yes, you can conditionally assign the spinoff flow to different opertaor’s and both of them can work on their assignments parallelly. For this you want to enable Optimistic locking for the particular case type. But Optimistic locking will have its own pros and cons.

Cons of Optimistic Locking

  1. Save-time Conflicts

  2. Data Overwrite Risk

  3. Poor User Experience in Long Forms

When to Avoid Optimistic Locking

Use cautiously when:

Many users edit same case often

Critical financial/legal data involved

Long data entry screens

Heavy bot/API updates happening

Yes , they can access the assignments at the sametime.

Yes, both operators (OP1 and OP2) will be able to process their assignments at the same time. When you use the spinoff option in a Subprocess shape, the subprocess runs in parallel with the main process. This means the main process does not wait for the subprocess to complete before proceeding, and the subprocess does not rejoin the main process.

In your scenario:

  • The main process flow continues to Assignment2, which is routed to OP1
  • The subprocess (spun off) runs independently with AssignmentSub1, which is routed to OP2

Since these processes run asynchronously and in parallel, both operators can work on their respective assignments simultaneously without any conflicts. Each subprocess runs independently, allowing different users to work on assignments from different processes at the same time. This parallel processing capability is specifically designed to enable concurrent work on different parts of a case or process flow.

Parallel processing in Pega applications | Pega Academy
Running multiple instances of different subprocesses with a Split Join shape | Pega Academy