This batch process performs the following:
- Searches for overdue tasks , i.e., tasks with a due date and time in the past
- If a deadline handler function has been specified in the associated workflow process definition for the deadline, then this handler is invoked.
- Otherwise, if the complete activity indicator has been set to true, then the workflow engine completes the activity associated with the deadline and progresses the workflow.
- The deadline that has been processed is removed to ensure it is not processed again.
- The data associated with the Context_Deadline workflow data object attribute is persisted.
- If there is a task associated with the deadline that has expired, a task history record is written detailing this fact.
This batch process takes no parameters.
Batch Process Class and Method: The class and method for this batch process is curam.core.facade.intf.ProcessTaskDeadlines.process.
Note: When executing this batch process from the command line the batch.username command line parameter must be supplied, and must refer to a valid user with appropriate privileges.