For greater flexibility and improved case resolution, pause and resume processes when a case meets conditions that you define. When you create dependencies between your cases, the ability to pause processes can facilitate the resolution of complex cases that require other processes to end.
For example, you can create a parent case that describes a hiring process of a job candidate, and then create child cases that represent running a background check and collecting all of the required documents. You can configure the parent case to pause until a case worker resolves all of the child cases or any of the child cases.-
Add a Wait shape to the life cycle of your case:
- In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.
- In a stage in which you want to add a Wait shape, click Step More Automations Wait , and then click Select.
-
Define the conditions for resuming the process:
Note: A Wait shape that you configure with advanced options can only be modified in Dev Studio.
Choices Actions Wait until all child cases reach resolution - In the Wait type list, select Case dependency.
- Select the Wait for all child cases to be resolved check box.
Wait until one or all child cases reach resolution - In the Wait type list, select Case dependency.
- In the Wait for (Case type) lists, define how many of the selected case types need to reach resolution before the process resumes.
-
Click To be resolved.
Note: A case reaches resolution when its case status starts with the word "Resolved".
- Optional: To consider statuses only after the case reaches the Wait shape, select the Consider status after wait begins check box.
Wait until one or all child cases reach a specific status - In the Wait type list, select Case dependency.
- In the Wait for (Case type) lists, define how many of the selected case types need to reach a certain status before the process resumes.
- Click To reach status.
- In the To reach status field, press the Down arrow key, and then select a status value.
- Optional: To consider statuses only after the case reaches the Wait shape, select the Consider status after wait begins check box.
Wait until a set amount of time passes - In the Wait type list, select Timer.
- Click Set date/time interval.
- Enter integers in one or more of the fields that appear, based on the interval of time that you want the process to wait.
Wait until a specific date or time - In the Wait type list, select Timer.
- Click Reference date/time.
-
In the Date/Time field, select a property that stores
the date and time when you want the process to resume.
Ensure that you select a property that references the date and time in the future.
- Optional: To allow case workers to cancel the wait conditions and continue processing a case, select Users can choose to continue process.
- Click Save.
- Design-time limitations in App Studio
- Defining the case life cycle
- Assignment shapes in processes