Mohamed Uwais Mohamed Ilham (ilhamUwais)
Lead Consultant Technology
ilhamUwais Member since 2010 7 posts
Posted: July 7, 2015
Last activity: August 3, 2017
Posted: 7 Jul 2015 6:58 EDT
Last activity: 3 Aug 2017 5:09 EDT

Wait for Dynamically Created Sub Cases of Different Type to Resolve


We are creating sub cases dynamically using the "Create Cases" flow shape.

The sub cases are of different sub classes from the class of the parent case.
They are created from a page list. Example: subCasesList.pxResults. Here, the pxResults pages will be of different classes.

The number of each of the cases created will vary.

The Problem:

The parent case needs to wait in the current step until all of the sub cases are resolved. Once all of the subcases are resolved, the case should move to the next stage/step.

Solutions Tried:

1. Included consecutive Wait shapes for each type of case. - Flow did not progress.

2. Tried including conditions to skip Wait shapes if type of case is not available. We did this by checking if the page list has pxResults pages with pxObjClass of the case type. - Flow always followed the ELSE path and immediately moved to the next stage.

How can this be done? Is it possible to do it without creating individual wait shapes for each sub case?

Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.