Hi All,
Kindly help me I want to use Email in the process model . Like example I am using any smart service (like write to data store entity) then this nodes fails . if the node fails than I want to send email through using email service in the process rather than the group alert or any name mention in alert.
And How to configure it?
Thanks
Discussion posts and replies are publicly visible
You can add an alternate flow which would send custom email if the main flow is not completed in the threshold time limit set by us in the timer delay and if it completed without any error then the process will terminate avoiding the send email node to execute.
I strongly suggest to stay with the normal way this works, using process model alerts. Is there a specific reason you want to do this in a different way?
Hi Sanchit
Could you please help me how to test this process model for both the sinecrio like if node not fails and node fails.
How to configure the nodes parameters?
Thanks for your response Stefan, yes I want to do in different way . could you please suggest any way?
I understand. But why? Trying to customize Appian default behaviour just increases the effort to develop applications. The value added must be bigger than the effort by an order of magnitude.
But if you insist on ignoring the Appian way, Sanchit already provided an alternative.
Just run one instance where the node will throw an error, one of the possible ways to cause this node to fail is to not configure the new node input for storing data. Then run an instance with proper configuration for happy path.
But when run an instance with proper configuration both the path run . I want if node does not fail then email will not trigger .
Look at my screenshot above carefully, you need to add a Terminate process event in the Result tab of End node which will terminate the process when the first incoming flow reaches the end node.
Thanks Sanchit for reply , it works thanks a lot.
Could you please help me, I have one doubt if write to data store entity will takes 10-15 mins to complete the flow then how to handle that one ? In the above screen shot you add timer 30 sec but if write to data store entity takes 15 or 20 mins to complete the path then the below path can't wait and email will send .
Please suggest any other idea how to handle that scenario ?