Runtime Information

When the workflow engine executes an activity that contains deadline metadata, it creates the deadline date time as follows:

Deadlines that have expired are processed by invoking the ScanTaskDeadlines batch job. This batch job in turn invokes the Workflow Deadline Scanner API described above which retrieves a list of all of the deadlines that have expired and processes them. If a deadline handler method has been specified for the deadline, the values of the workflow data object attributes defined in the parameter mappings are provided as input parameters to the deadline handler method and it is invoked. If the complete activity flag has been set to true, then the associated activity is completed. Any deadline output mappings (duration expired and deadline expiry time) that may have been specified are persisted here. The attributes of the Context_Deadline workflow data object are also persisted during this processing to allow them to be used in transitions emanating from the activity containing the deadline.