Hi.
i write code in Reframework… in that code any error occurs at any states… i have to get mail intimation with error log or warning message in that mail…
How to do …
Thanks
Shyam
Hi.
i write code in Reframework… in that code any error occurs at any states… i have to get mail intimation with error log or warning message in that mail…
How to do …
Thanks
Shyam
Hey @Shyam_Pragash
In the Finally
block of Process Try Catch
,
Add an if
activity with condition SystemException isNot Nothing OrElse BusinessException isNot Nothing
just add your Send Mail
activity by passing necessary props in the then
block of the above if
Hope this helps
Thanks
#nK
Hi Shyam, Are you using the UiPath Reframework Template? If yes, you can do so by the use of “Transition” in state machines. You can add steps in each type of result - Success, System Exception etc.
Hi @snehasish.mondal @Nithinkrishna
Thank you for your reply…
it will initimate any state issue in Reframework… ?
Thanks
Shyam
Hey @Shyam_Pragash
Here you go,
Finally block of Process Try Catch
The Code for Send Email
Hope this helps
Thanks
#nK
i got the mail if any error occurs…
How to write error message in Body of the Mail…
Thanks
Shyam
Hey @Shyam_Pragash
Just pass SystemException.Message
or BusinessException.Message
in the body prop.
Thanks
#nK
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.