For our use case, when zero tasks are generated for a process, there's an underlying issue going on. Currently, it isn't until our users notice they have 0 tasks and reach out to us that we are made aware.
Is there a way for Appian to pick up on a process that has had zero tasks for a set duration and send an alert to administrators?
Discussion posts and replies are publicly visible
Process errors alerts can be emailed to a set of users and configure in bunch of combinations. Please explore the process model details alerts tab:
docs.appian.com/.../Alerts_Tab.html
The above shows a way to get alerted if process gets stalled because if an issue. There are other ways to get notified as well, let's say if the user is not acting on a task assigned etc can be handled via escalation. Documentation on escalation: docs.appian.com/.../Escalating_a_Task.html
You can leverage the following task functions on a process report. Your limitation would be querying this process report at an interval. An interval of 1 hour will have better performance vs an interval of 1 minute given a high number of processes.
> What we know: we know how many tasks are associated with a given process, so we can cross check against that [ (if activeTasks == 0 && completedTasks < totalTasks) SEND ALERT!] ....are you aware of any function that can check the active task count?- There are ways to do this. As suggested by other practitioners, create a daily/weekly scheduled processes to check and alert the appropriate user/admins etc.
My concern is this "What if the process didn't fail, it just stalled out for whatever reason (sometimes for no reason....just happens and you need to restart the task)." There should be no unattended node (any node/task that is not User input task, or has a form for the user to act on) that runs for more than 60 mins and doesn't move the process to error (paused by exception). You have to find the root cause and fix it.
From documentation: "The activity must alost complete within 60 minutes or the process will pause by exception."
docs.appian.com/.../Assignment_Tab.html