Understanding Case Dependency Influence on Pega Wait Shape Functionality
- techpapers

- 2 days ago
- 2 min read
You might have used Wait shape for pausing your flow based on time or based on case status dependency. Have you ever thought how the Pega achieve this case dependency. In today's blog let's dive into this.
Pega Wait flow shape with case dependency, you have two major ways specify the case dependency.
You can select to wait for all Child cases of this case to resolve.

In this case, Pega will find out all child cases for the current case by checking the value of pxCoveredInsKey property and watch until all these cases are resolve. It is simple and straight forward.
In case you do not select "Wait for all child cases to be resolved" option, then you have to select specific case type from the drop down. You can only choose case from current application. To select case from other built on application, you need to mention the class name of the case.

Wait shape can either wait for the case to resolve or wait for the case to reach on specific case status.
Here we need to understand one thing that, with child case the current case knows how many child cases are there so this time the wait is only for those specific child cases. But when you select any other case which are not associated with current case as child then Pega will either wait for ALL case instances or ANY instance of the selected case.
Parent child case relationship in specific sense is a tight coupled relationship between Parent and child. In this relationship, a Parent is related to a finite number of child cases and Parent case knows those child case instance whereas in other way, the current case does not know anything about the cases it is waiting for and hence Pega wait shape offer options like ALL or ANY.
If you find out blogs give insight about Pega concept, do share the blog links with your friends or colleague. If you have any question or suggestion, please do comment below so that we can use them for our future work.
We also offer on demand consulting service to individual or companies pls comment or drop us message for the same and we will get back to you.



Comments