Hi,
My requirement is I need to handle the exception (Technical) which occurs in any node in a process and once exception occurs I need to follow a different flow to inform the end user about the exception occurred and complete the process. All the nodes are connected through activity chaining so in both success or error scenario an output is expected from the process.
Regards,
Balaji.R
Discussion posts and replies are publicly visible
First of all set the flag at the End of the sub process, so in case your flow breaks in between your flag will be blank otherwise it will have true. You need to set the timer on the sub process setup as per your requirement (for eg., say 1 minute). Please see the attachments.
Let me know if this helps..
Hi @rpbalaji2006 as per my understanding, if you are more. Concern about performance, then do not use timer because it runs in background which degrades the application and server performance.
Now coming to your query, first of all, end-user should never be informed about errors, because it's the responsibility of administrators to deal with these errors and because they are configured under alerts tab hence they will be reported by Appian and also they will have e access to designer to check the respective alerts.
You should never complete the process in case if node breaks, because this will cause you unexpected response / behaviour.
For example, you next task is completely depending on previous process response, and now because you have timer configured so it will trigger the next process, now to handle that, you need to define a gateway which checks for a variable if it's null then terminate the process, but process should not be configured in that way, because let's say, your task got broken, and if process didn't terminate then admin team can inspect and fix the issue by adding the patch and will restart from that node.
Timers are best for the use case when you want to configure some schedulers in your application.
Hope it will be helpful to you.