We do not recommend monitoring Sandbox orgs. Once a Sandbox org is refreshed a new org id is created which will break the link between your Salesforce org and the Flow error monitoring job and you will lose access to the Flow error results.
Setup instructions
Setting up your org for Flow and Apex error monitoring requires both generating an inbox address using Gearset and changing settings in your Salesforce org.
Step 1: Generate a monitoring inbox address using Gearset
Click on the
Observability
category in the Gearset side navigation.Click on
Begin setup
. (Note: If you've previously added a job, you can add a second job via theActions
button drop-down in the top right of the page.Choose the Salesforce production org you wish to monitor for errors.
Add a name for your job and click
Next
.Copy
the automatically generated unique monitoring inbox address. It will take the general format of325f-43a6-baed-3f2b23a91b53@eu.platform.gearset.com
(Note: depending on the region your data resides it may be@us.platform.gearset.com
or similar depending on region).Click
Finish
.
Add an existing Salesforce user to the list to continue receiving Apex alerts, or multiple recipients to the External Email Address field, separated by a semi-colon.
Step 2: Set the Gearset generated inbox address as email recipient(s) in Salesforce
Log into your Salesforce Production org.
Using
Quick find
, navigate toApex Exception Email
.Add the generated Gearset external email address in the previous step to the
External Email Addresses
field.
Step 3: Change default recipient address behaviour in Salesforce
Log in to your Salesforce org.
Using the
Quick find
, navigate toProcess Automation Settings
located underProcess Automation
.Locate the
Send Process or Flow Error Email
drop-down form field.Change the existing
User Who Last Modified the Process or Flow
default value to theApex Exception Email Recipients
option.Click
Save
.