
It is possible to use the 'On block Error' to do global exception handling and close out PAD gracefully and use 'Get Last Error' to provide feedback via an output variable, so the cloud flow can send an email or handle an error condition in PAD.
But, when you do this the cloud flow completes successfully, and it doesn't show a 'Failure' in the Monitoring in the web portal.
It would be better to gracefully handle the error AND set the flow execution to Failure so that the monitoring in the portal is useful.
Can this be done?
On Block Error, go to Subflow "AnyError"
In Subflow Any Error
Get Last Error
Write to text file and save
'any other actions you want such as close windows or email staff
Stop flow "with error message"
I believe the stop flow with error message should push out to the monitor where you can direct the reviewer to look at the text file for the error.