Hi @pjandliz
The simpliest way of doing this is via the Runtime and Events workflow configurations:
There is an option to cancel running the workflow if there is an error - but this will cancel it for ANY error not just ones in the R tool.
In the Events tab you can set it up to email a user, or group of users, when the workflow fails. You'll need to enter in your organisations SMTP settings for it to work.
Note: in the body of the email you will get all the output log info, you cannot restrict it down to just errors as far as I'm aware.
Does that help at all?
Thanks David
I'll try it out and report back.
I've tried the 'Cancel Running Workflow on Error', but it's not ideal, so I'm still open to suggestions.
In the interim I've had another idea - the 2nd leg of the process uses a value passed to the R Tool so I will see if I can push it out of the R Tool as a 2nd output; so if the R Tool fails then so too does the 2nd output.