If a workflow runs longer than 2-3 hours, we would like to be notified of this, preferably by email.
Is this something workflow is able to accomplish?
If a workflow runs longer than 2-3 hours, we would like to be notified of this, preferably by email.
Is this something workflow is able to accomplish?
Hello Mason,
You can achieve what you want using the Escalation activity. This allows you to determine a flow of activities that will run normally, and then a second flow of activities that run after a configurable amount of time (if the first flow doesn't complete in time).
The idea is to have an approval process/es in the Primary Flow, and then Escalate using Emails or moving documents if things are taking too long, and you could use the activity for what you want too.
I recommend taking an Escalation activity, placing your current activities into the Primary Branch, and placing an Email activity into the Escalation Branch, escalating after 3 hours.
I also recommend looking into how the Escalation activity works, because you may want to consider having Escalations for each Approval process (or whatever the Workflow will be waiting for) rather than one for the entire Workflow.
Also there is a small difference between Escalation and Deadline activities. Escalation sets secondary activities that will run as well as the Primary Branch, so even after the time period, the Primary Branch will still need to run through. The Deadline activity is the same, except after the time period, the Primary Branch is ended, and the secondary branch runs.
Let me know if you have any more questions.
Thanks,
We are running into an issue where several documents are getting corrupted when they run through Laserfiche.
They are rare issues and are difficult to track. The only thing we are able to notice is that workflow runs several instances all at the same time. It makes me believe that the issue has to do with the subscriber falling behind. But, I am needing to see if any workflows ran longer than a couple of hours to prove my theory that this is the case, which is why I was hoping there would be a report like the one I was describing above.