Is there a way to send an email notification when a process stop?

Is there a way to send an email or a notif somewhere at anytime a process stop ? either it finished , Got an error ? any kind of error .

Hi @celie.mccook

This mails be enabled here

In the orchestrator tenant settings.

Also you could use webhooks.

Another solution would be to implement a logic inside the robot which will send an email every time exception occurs.

1 Like

@celie.mccook

In your process add send email at the end of the process for success and emails inside the system exception catch block and business exception catch blocks to send emails when there is an exception…

Orchestrator alerts can be configured when a run is faulted completely

Cheers

1 Like

@celie.mccook
You can place the Mail activity at the End of the process to indicate the process was finished successfully.
If you need to know the specific error, add the try-catch with system exception and place mail activity with the body of exception.message,

1 Like

Hi @celie.mccook

If you want to send an email notification when a process is completed, you can simply use the ‘Send Outlook/SMTP mail Message’ activity by the end of the process (In the end state, if you’re using any Framework like RE).

If you want to get the faulted process notification, you can throw an exception in the flow, catch the same & send it using the same activity.

Also, configuring Orchestrator Alert Preferences might help.
Cheers.

1 Like

Can a put a full sequance containing all the activities in the try catch activity , and whenver any type of error appear send an email ? or should i specify catches ?

Can a put a full sequance containing all the activities in the try catch activity , and whenver any type of error appear send an email ? or should i specify catches ?

@celie.mccook Yes, you can also do it. Keep the whole process in try-catch with the System.Exception
In the mail message pass the variable in the body like "Process error:"+Exception.Message