Hi,We have a situation where we need to proceed to the next node when a smart node fails. Now, we have to manually start the next node and this is not a efficient way since the process will run for several hours. I tried using the timer in the exception flow but this doesn't seem to work. Any ideas on how this can be achieved to prevent manual intervention?
Smart Service used is "Move To Filesystem" under FileSystem Services. In the exception flow, I have used Timer set to 1 minute(exception tab) so it would take exception flow if the node stays for more than a minute.
Any help is appreciated.
Discussion posts and replies are publicly visible
Why is your node failing?
File is missing and hence the node files. So, we want to ignore the missing file and proceed to the next node to loop through the rest of the files.
why not creating a gateway before your node with an void/isnull check to skip the node if there is no file?
We are using the smart node (From FileSystem Services plugin) and giving the KC folder as input, so files if any will be moved to a custom folder in the file system(outside of Appian). Looks like file metadata is present but the actual file in the accdocs folder is missing causing the node to fail.
just to clarify, you try to move a file from outside appian to another place outside of appian?
If a node in a process model is red crossed or failed, We have to restart it manually the same node or next node. Other way is , Create a parallel timer event and make it wait for definite amount of time and then outgoing path can be next node which usually fails. Make sure you have a Terminate event to terminate the Timer as well if Happy path executes.
Try placing the node that is failing as a subprocess node and add exception on the subprocess node this should work
Hi Chandra Sekar,
Thanks for the timer idea. I tried but have few questions. Screenshot attached.
From the parallel gateway, i have timer node(set to 1 min) and the copy node(which may fail for some instances). For the failed condition, it seems to work fine where dummy node gets started and also the end event is executed. But for the happy path, bcos of the timer, it gets executed twice which creates a problem. Did i get it wrong? How do i avoid this?
Thanks for your help,
do you have a loop in it?
You need to prevent the time from triggering in the success case. To do that, create a boolean PV in which you store the success value of the node. Then add a condition to the timer and make it trigger only if the node failed.
© 2021 Appian. All rights reserved.