Symptom
Currently, there is only one reminder and one escalation step for a task possible. Would it be possible to implement more steps, i.e.: After 2 days a task will be escalated to 'user 1', after 2 more days to 'user 2', after a week to 'user 3'?
Resolution
It is not possible out-of-the-box, but you can try to implement the following workaround:
- Before the task, we create a JavaScript activity in which the current time in a variable, for example, "currentTime" is set
- in the task, we set the first escalation after 2 days and an automatic close after 4 days
- after the task, let's create a JS task again, where we calculate how much time has elapsed from the first captured time until now. If more than 4 days ⇾ set the new variable "escalation" to "true" if less (someone had processed the task) ⇾ to "false"
- This is followed by an automatic gateway that checks whether the workflow case should run normally (escalation=0) or forward to another task with the same form (escalation=1).
- This escalated task can use an automatic escalation again, and after it has been completed, the case can continue normally.
Attached you find an example of a process. Please note: this instruction is a workaround, and it supposes to be an example how to implement several stages of escalation, but we take no responsibility for the presented scripts.
Keywords
KBA , BPI-SIG-PG-EDT , Process Governance Editor , Problem
Product
Attachments
Eskalationsstufen.bpmn.zip |