Discussion
1
Replies
3017
Views
Incessant Technologies
Posted: February 15, 2015
Last activity: February 25, 2015
Parent and Sub cases - Dependency management
Hi All,
I have below requirement, can anyone please help me to design the below requirements in a best way using case management?
1. The parent case continue to approve under the following conditions:
– All subcases are approved.
OR – 24 hrs have passed and no subcase is rejected
2. The parent case will be rejected if any sub case is rejected.
Thanks in Advance.
Regards,
Ramesh.
Hi Ramesh,
The above requirement can be achieved using wait shape and split join shape.
You need to create three flows in Parent case.
In the first flow, add a Dependency wait shape which waits for ‘All’ Child cases to reach status ‘Approved’ and in the end shape set work status as ‘Approved’.
In the second flow, add a Timer wait shape which waits 24 hrs and in the end shape set work status as ‘Approved’.
In the third flow, add a Dependency wait shape which waits for ‘Any’ Child case to reach status rejected and in the end shape set work status as ‘Rejected.
Configure these three flows in Split Join shape in a flow in Parent Case with Join condition as ‘Any’.
The above configuration should address your requirement.
Regards,
Venkat