Process Completion Monitor batch process
Code |
|
Categories |
|
Implementation |
Batch process |
Stoppable |
No (single phase process) |
Schedule |
Not scheduled |
Class |
ProcessCompletionMonitor.java |
The Process Completion Monitor batch process runs at schedulable intervals and examines the
ProcessHistory table for all completed work queues and batch
processes.
For each completed work queue that it finds, Process Completion Monitor:
- Determines if all the work items in that work queue have either completed or failed.
- Calls the
IBatchCompletedNotificationplugin implementation on a process if the process is complete and has no remaining available or checked-out work items. - Sets
ProcessHistory.NOTIFICATIONSENTtotrue, to prevent the process from invoking theIBatchCompletedNotificationplugin implementation more than a single time for any given process.
The IBatchCompletedNotification interface has a completed method that you can override to perform specific actions after a work queue or batch process completes a batch of work.
By default, Guidewire does not add an entry for this process to scheduler-config.xml in the base configuration. To schedule this process, add an entry for it to scheduler-config.xml.
See also
