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
Observabilitycategory in the Gearset side navigation.Click on
Begin setup. (Note: If you've previously added a job, you can add a second job via theActionsbutton 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.Copythe 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.comor 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 Addressesfield.
Step 3: Change default recipient address behavior in Salesforce
Log in to your Salesforce org.
Using the
Quick find, navigate toProcess Automation Settingslocated underProcess Automation.Locate the
Send Process or Flow Error Emaildrop-down form field.Change the existing
User Who Last Modified the Process or Flowdefault value to theApex Exception Email Recipientsoption.Click
Save.
