ApexExceptionEmail

ApexExceptionEmail template sets the email addresses that will receive notifications when the Apex code encounters unhandled exceptions. Emails can be sent to the Salesforce org’s users and external email addresses. Additionally, delete the Salesforce user who no longer exists.

To create this template, follow the below steps:

  1. Login to your AutoRABIT account.

  2. Click on Env. Pro. module.

  3. Click on Create New Template.

  4. Go to the Create Unsupported Metadata Template tab.

  5. Give the template a name and a short description of it.

  6. Select the ApexExceptionalEmail checkbox available under Add Apex Exception Email.

  7. Click Add.

  8. On the next screen, a Test Case Name appears automatically by default. To add the custom test data, click on Add button.

    • You can even add multiple pages for the above-generated test cases. Click on the + symbol and fill in the fields mentioned in the earlier steps.

    • Click OK.

    • Once done, click on the Save button to save this page.

  9. Next, Click Save to save the template.

  10. Once the template is successfully created, you'll be redirected to the Environment Provisioning History screen.

  11. Click the Run button to run the template on your destination org.

  12. Select your destination org from the dropdown and enter the email address(es) to receive an email notification whenever the template is run.

  13. In the Post Deployment Steps, select the test cases that you have recently created.

  14. Please check the View History page for a detailed summary report of the operation carried out.

Last updated