Question

IBM
CN
Last activity: 4 Jul 2025 1:36 EDT
Some concerns on Pega Wait behavior
Some concerns on Pega Wait behavior, please correct me if my understanding is incorrect.
Below is from our practice.
Assume a flow includes 3 parts that run in sequence.
1st part: Part A,
2nd part, Wait Shape,
3rd part: Part B
1. Part B will be run under different role with Part A, until next assignment in Part B reached
Part A may be run under a real operator role, but Part B will be run under SLA agent role
So, some actions in Part B, e.g. connect to out app via a API that need user token, will not work.
2. Part B will be run under different context with Part A, until next assignment in Part B reached
e.g. if the Wait Shape waits a child case completed, then, some steps in Part B will be run under context of child case instead of current case context of Part A.
Do you think this is reasonable from Pega app developer (like me) view point?
Once I insert a Wait shape btw Part A & Part B, then Part B has to be changed as role/context change.
Above features of Pega like that Pega just design it in consideration of how Pega can easy to realize it, instead of how Pega app developer easy to understand and develop.