Case workflow dependency
Pause and resume case processing
You can enforce dependencies using the Wait step. The Wait step allows you to pause and resume case processing when the case meets conditions that you define. For example, when a customer submits an order to purchase a mutual fund, the processing is paused until the end of the day, and then the fund value is calculated.
The Wait step can be configured to pause case processing based on Wait type: Case Dependency or Timer.
The Case Dependency wait type pauses case processing of a parent case until the child case dependency resolves.
You create a case dependency by adding a Wait step to the parent case. When a parent case reaches the Wait step, the case pauses until all child cases or any child case of a given type reach a defined status. The status could be a standard status like Pending-Approval or a custom status defined in your application. You can also set the Wait step to To be resolved, where a case is resolved when the case status is set to a value that starts with the word Resolved. For example, when a parent case reaches the Wait step, the case pauses until one or all child cases are resolved.
Note: A hierarchical relationship between cases, such as parent and child cases, must exist for the wait shape to consider the dependency at runtime.
You can set the case to consider only the current status or status changes after the case reaches the Wait shape. You can also allow users to cancel the wait conditions and continue processing a case.
The Timer wait type pauses a case until the Set date/time interval expires or until a Reference date/time is reached.
You can configure the Wait step to pause the process for a fixed interval (hours/minutes) or based on the value of a property reference. You either specify a specific length of time the case should pause, or use a variable that contains a date when the case should resume. For example, with an accident claim, you may give someone 24 hours to upload pictures for the accident. You want to pause the case until the wait time has elapsed.
Check your knowledge with the following interaction: