Case completion
In practice, several associated jobs may be running as part of a case. When a case is completed, it impacts the associated jobs. You can configure a case to define the flow of associated jobs on case completion; for example, kick off a separate business process to invoke a formal closing procedure.
You can configure a case to either terminate or leave all associated cases (jobs) running upon case completion. For example, if a court decides that compensation must be paid to all case plaintiffs on completion of a legal case, then the legal case can be configured to keep the jobs alive so that arranging payments can be kicked off for each of the plaintiffs. If the jobs are terminated, plaintiffs are not paid.
All associated jobs must be completed before the case completion event is executed.
When a case is terminated, all jobs associated with the case are also terminated.
To configure case completion for a process, perform the following steps.
- In the properties panel, select the General tab.
-
On the
Completion process list, select the process to define the flow of associated
jobs to either terminate or leave them running upon case completion.
To get information on the case job that raised the process, you must first create a Case Ref and then JobID as initialization parameters.
-
Select either option for
Associated jobs:
-
Leave: Leaves all associated jobs of this case running. The status of associated jobs in this instance is Awaiting Case Completion. If the case is completed before the associated jobs are complete, the status of the case changes to Awaiting Completion.
-
Terminate: Terminates all associated jobs of this case. If a case is terminated before the associated jobs, all jobs associated with the case are also terminated; the status of the associated jobs changes to Terminated.
-