Hello guys,I wanted to ask if there is any way in appian to execute a process if no action was taken after a certain period of time.My scenario is very simple. I do have a process model that updates the task status to completed through a script task, save the changes with write records and sends an email notification afterwards.What I am trying to achieve is changing the status to completed if no action/button click is taken in lets say a couple of days.
Discussion posts and replies are publicly visible
Use an escalation timer on the user input task to auto-complete and send the email after the set time.Exceptions tab
I understand, but I simply want the task to be completed without any user interaction. Correct me if I'm wrong, but the scenario you provided suggests that the user needs to instigate the process 1st before the exception rule takes place.
Add a parallel gateway after the user input task.Path 1: Normal user completion.Path 2: Timer event set to 2 days -> Script task updates status, writes records, sends email -> Terminate event.This timer path will auto-complete the task without user interaction after 2 days, effectively handling timeout scenarios in parallel to user actions.Explained it properly in this link https://docs.appian.com/suite/help/25.3/Process_Node_and_Smart_Service_Properties.html#exceptions-tab
Correct me if i am wrong .You want to have a process model which needs to trigger on it's own and update the status as completed for any records/tasks which didn't have any updates for couple of days (I hope you have different PM's for user to update those)??
If that's the case, isn't it straight forward. Have a Schedular Process model which runs on daily base (it's up to you) which queries records based on updated time (get all the records which didn't get updated in last 2 days) and update the status and write it to DB.
elvisb958752 said: no action/button click
This part is bit confusing to understand , button click that means we though it's an input task so we will suggest exceptions. Could you explain more about your requirement (any screenshots would be helpful)