Hi friends,
how can i develop like this when in flowchart if a sequence doesn’t work or an error comes up send an email.
thnx
place the sequence in try catch activity
in the catch use send mail activity to send the mail
cheers
Encapsulate the sequence with try catch activity which throws the error. Place the while sequence in try block, in the catch block insert the send message mail activity to send the error triggered in the sequence.
Hope it helps!!
I’ve tried but doesn’t work. i did the sequens in try and send mail messege in catch but if an activity in sequens gets erorrs then bot stops and shows in the activity that it erorrs and no send no email
inside the parent sequence also
use try catch for the activities inside the sequence and in the catch provide rethrow,
then the parent sequence will send the mail
cheers
no, my friend. I want to send me an email if an error occurs somewhere in the sequence, not just an activity
Flowchart.xaml (10.8 KB)
Sequence2.xaml (8.9 KB)
check the flowchart
when ever error occurs it will comes to the parent in the parent it will send mail
All the mains pop up to the top level…so use a try catch on top level and in catch send mail…that should send mail for any exception
cheers
The flowchart is encapsulated inside a Main sequence for that sequence close with try catch activity.
In the catch block, create a catch and insert the send mail message activity to send mail to the target audience.
Hope it helps!!