Hi all,
I need to send the exception mail with the exception, where ever the exception will occur in exception.Message I need to send.
Please guide me on this.
Thank you!!!
Hi all,
I need to send the exception mail with the exception, where ever the exception will occur in exception.Message I need to send.
Please guide me on this.
Thank you!!!
Use try catch
Inside the catch
Use send mail activity
Exception.message gives exception message
Cheers
Hi @vineelag
Use the try catch activity and encapsulate the whole sequence with this activity. In try block the whole sequence has to be there. In the catch block create a exception Inside of it insert any send mail message activity. In the body field of send mail message activity give the Exception.message and provide the to address in to field and subject in subject field.
If any exception is occured in the main sequence, the bot come to catch block and execute the send mail message activity in the catch block.
Check the below image for better understanding.
Hope it helps!!