AutoRABIT Knowledge Base
Ask or search…
K

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. 1.
    Login to your AutoRABIT account.
  2. 2.
    Click on Env. Pro. module.
  3. 3.
    Click on Create New Template.
  4. 4.
    Go to the Create Unsupported Metadata Template tab.
  5. 5.
    Give the template a name and a short description of it.
  6. 6.
    Select the ApexExceptionalEmail checkbox available under Add Apex Exception Email.
  7. 7.
    Click Add.
  8. 8.
    On the next screen, a Test Case Name appears automatically by default. To add the custom test data, click on Add button.
  9. 9.
    Users can add the required details in the fields of Salesforce User, External Email Addresses, and Delete Salesforce User. To add further details, click on
    icon.
    1. 1.
      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.
    2. 2.
      Click OK.
    3. 3.
      Once done, click on the Save button to save this page.
  10. 10.
    Next, Click Save to save the template.
  11. 11.
    Once the template is successfully created, you'll be redirected to the Environment Provisioning History screen.
  12. 12.
    Click the Run button to run the template on your destination org.
  13. 13.
    Select your destination org from the dropdown and enter the email address(es) to receive an email notification whenever the template is run.
  14. 14.
    In the Post Deployment Steps, select the test cases that you have recently created.
  15. 15.
    Please check the View History page for a detailed summary report of the operation carried out.