Skip to main content

Automated error monitoring job setup

How to use the automated setup process in Gearset for creating an error monitoring job

Stephen Chambers avatar
Written by Stephen Chambers
Updated today

Gearset can automatically set up an error monitoring job for you by configuring the two settings necessary in Salesforce for error monitoring to take place. You can achieve the same thing by configuring these settings manually if you wish.

  1. Click Begin setup if you've not created a monitoring job previously, or go to the Actions menu dropdown and click on Add a new job

  2. Choose the Salesforce org that you wish to monitor for errors. (Note: whilst Sandbox orgs can be selected, once they are refreshed the change in Salesforce org id will stop the job from working.)

  3. Add a name for your monitoring job and click on Finish setup.

Gearset will perform a deployment to adjust the notification settings required in the org for monitoring the inbox address which is automatically generated by Gearset. (Note: the length of time a deployment can take is dependent on when Salesforce begins the deployment so times can vary).

The deployment will update two settings in your org:

  1. Under the Apex exception email it will add a Gearset generated email inbox to the External Email Addresses field.

  2. Change the existing User Who Last Modified the Process or Flow default value to the Apex Exception Email Recipients option under Process Automation Settings.

Note: if you have a change monitoring job set up for your org or compare your org with the Apex email notifications or Settings metadata types included you will see the specific items for these types indicated as changed items.

Did this answer your question?