I’m in the process of adding a bunch of checks and error handlers to my scenario, with the goal of sending an email (or similar) when something has gone wrong. The default workflow for error handling means one message will be sent for each individual error, which is not ideal. Can I somehow collect all of these into a single module execution? I’m imagining a single message along the lines of:
Errors occured on Module1:
Client1 has no email address.
Client4 is inactive.
Errors occured on Module3:
Invoice 2341 already exists.
Client 22 does not exist.
Perhaps by adding text onto a variable and putting an email module at the end of the scenario or something?
This seems like a complex scenario you’re trying to make, perhaps exporting the blueprint might help others replicate the issue to be able to answer your question.
At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
I don’t know that I can export it readily as I am using a private app, but I can try to describe a similar, simplified scenario.
Let’s say I download a list of files from, say, Google Drive. I want to upload to Dropbox and then delete each file. So I might have a scenario like so:
Get Files → Upload File → Delete Original File
Now either the upload or delete module may fail for various reasons. Upload may fail because of duplicate, or quota exceeded. Delete may fail due to lack of permissions. I want to get notified of any issues in the workflow, (errors should not terminate the scenario) so normally I would attach an error route to both modules which sends an email, but this would send one message per error.
Failed to upload info.txt (file already exists)
Failed to upload show.mp4 (quota exceeded)
Failed to delete product.pdf (insufficient permissions)
I would like for all output/errors to be sent in a single message.
Scenario encountered one or more errors
Failed to upload info.txt (file already exists)
Failed to upload show.mp4 (quota exceeded)
Failed to delete product.pdf (insufficient permissions)