Workflow to bypass activity after x amount of escalations?

I have a user input task with 3 reminders being sent by escalations. The input task is stored in our database and indicates if it was completed and the reminder dates (basically writing a near empty object). I'm trying to figure out how to move passed the input task after the last escalation and still write the record before ending the process.

I've found older posts where users discussed the "send message request" item within the escalation, but they would do that to kill their entire process. I still need my process to complete.

An alternative approach I'm testing out is splitting the flow with an AND gateway:

  • Path 1 has the user input task and updates pv!taskComplete once done
  • Path 2 loops itself with an XOR for each reminder count (pv!counter)

If pv!taskComplete = true, Path 2 resolves to an end node and everything is fine.

If pv!taskComplete = false, but pv!counter = 4, Path 2 also resolves to an end node. However, the user input task is still active in the process monitor. How can I end this? The tp!id doesn't exist since the task isn't submitted

  Discussion posts and replies are publicly visible