Trigger an escalation if 24 hours later the task has not been accepted

I have a requirement where we need to trigger an escalation only if 24 hours later the task has not been accepted by a user.

Is this possible to implement in an escalation node or is the only way to build a process that is ready the active tasks every 24 hours and getting a list of tasks that have not been accepted and then sending an email?

Thank you!

  Discussion posts and replies are publicly visible

Parents
  • So here's one way to handle it:

    1. put the user input task in a sub process.
    2. in that sub process, from the start event, there are 2 out flows:
      1. One flow to the user task
        1. if the task is accepted, wonderful - flow out and terminate this sub process
      2. Another flow to a timer set to 24 hours.  
        1. If this process is alive for more than 24 hours flow from the timer through a script task that sets and escalation flag, flow to the end task and terminate the process
          1. now that you have your escalation flag set, you can trigger a new task to an escalated assignee.
Reply
  • So here's one way to handle it:

    1. put the user input task in a sub process.
    2. in that sub process, from the start event, there are 2 out flows:
      1. One flow to the user task
        1. if the task is accepted, wonderful - flow out and terminate this sub process
      2. Another flow to a timer set to 24 hours.  
        1. If this process is alive for more than 24 hours flow from the timer through a script task that sets and escalation flag, flow to the end task and terminate the process
          1. now that you have your escalation flag set, you can trigger a new task to an escalated assignee.
Children