This Snippet contains a Process Engine Plugin that adds functionality to automatically escalate overdue Jobs by a custom Job Handler.
In your process model you just make sure that you set the due date of a User Task correctly:
- The Process Engine Plugin to add
- A Parse Listener which adds Task Listeners to create or remove the job: CreateWatchDuedateJobTaskListener, DeleteWatchDuedateJobTaskListener
- A Job Handler taking arbritrary actions when the task is now overdue
- Build it via Maven
- Configure the Process Engine to use the Plugin
Built and tested against Camunda BPM version 7.4.0