Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More
Get Started with B2C Commerce
Set Failure Handling and Notifications for B2C Commerce Jobs

Set Failure Handling and Notifications for B2C Commerce Jobs

A B2C Commerce job runs steps that execute various tasks. Choose what the job does when it fails, and who receives an email notification of the failure.

Which Salesforce Commerce Product Do I Have?

Before you can set failure handling and notifications, create the job and add its flows and steps. See Create and Schedule a B2C Commerce Job and Add Flows and Steps for B2C Commerce Jobs.

In B2C Commerce Business Manager, choose what the job does on failure and who receives a status email.

  1. To configure error handling for the job:
    1. From the App Launcher App Launcher, find and select Administration | Operations | Jobs, and then open the job.
    2. On the job page, click the Failure Handling tab.
    3. Select a failure rule. The failure rule is invoked after a job finishes with an ERROR status.
      • Continue As Scheduled: The job runs at the next scheduled time.
      • Stop On Error: The schedule turns off, so the job doesn't run again.
      • Retry: The job restarts. Set how many times it retries and how long it waits between tries.
  2. To send email notifications about the job status:
    1. On the job page, click the Notification tab.
    2. Select Enabled.
    3. Under Select Events to Receive Notifications About:, select at least one event that triggers a notification: Ok, Error, Long Runtime, or Retry.
    4. Enter the email addresses in From, To, CC, and BCC. From and To are required.
    5. (Optional) Select Enabled in Long Runtime Detection and specify the run time.
 
Loading
Salesforce Help | Article