Question
Pegasystems Inc.
IT
Last activity: 31 May 2019 4:54 EDT
How to Test Case dependencies with Wait Shape
I am facing an issue in the following scenario:
- A sub case has one SLA on an assignment
- When the SLA reaches the deadline the case is resolved-cancelled
- A parent case creates a sub case instance and wait until the child case SLA is triggered. The wait shape lets the parent wait for the child resolution.
- As the child is resolved the parent is resolved.
I am trying to automate the test, by the way if i create the test case for the parent, the case is created and nothing happen.
How can i test this kind of relathionship with the wait shape and the case dependencies ? can someone help me ?
in the meantime i will continue to find a solution.
Hi Maria,
According to my understanding of your requirement, an SLA rule is already defined in the sub-case with an escalation action to set status to resolved-cancelled. Hence, another wait shape is not required.
In the parent case, you'll need a wait shape with wait type as case dependency and select to reach status 'resolved-cancelled'.
So, when SLA is triggered in sub-case the case is resolved-canceled and the wait shape in parent case resolves the parent case.