How to send mail to business that process is completed in Reframe Work

i Have developed a solution in reframe work which is running successfully i want to send a mail to business that bot execution has been completed successfully, Iam confused where to invoke the send mail xaml file.

Hi @T_Y_Raju ,

You can invoke the Mail xaml in the End State, as the REFramework only gets there when it finishes processing All Transaction Items.

Kind Regards,
Ashwin A.K

Hi @T_Y_Raju

As @ashwin.ashok said you can send the email in End Process State. But you should consider adding an if block and checking SystemException is Nothing. Because the workflow falls to this state if it gets System Exception during the Initialization state and you wouldn’t want to send a successful mail when the workflow is failed.

Thank very much it works