---
title: "Jobs"
description: "Schedule the two SureBright jobs in SFCC Business Manager, one that sends your products and one that sends your orders, and check that they keep running."
---

Two jobs keep SureBright up to date with your store. On this page you point each one at your site, run it once, and put it on a schedule.

| Job | What it gives you | Recommended schedule |
|---|---|---|
| **SureBright Products Export** | SureBright knows which of your products are online and in stock, so they can be offered with a plan. | Once per day, after your catalogue is updated. |
| **SureBright Orders Creation** | Orders reach SureBright, and the plans sold on them become service contracts. | Every hour. |

<Info>
  **Before you start**: complete the [Business Manager Setup](./business-manager-setup) and [Configuration](./configuration) phases before configuring jobs.
</Info>

---

## Schedule the SureBright Products Export job

This job goes through your entire storefront catalogue and sends SureBright every Simple and Variant Product that is merchandisable (online and in stock) at the time the job runs.

1. Go to Business Manager **→** Administration **→** Operations **→** Jobs. Select the **SureBright Products Export** job.
2. Go to Job Steps and select **Scope**. Configure this to run in the scope of the site integrating with SureBright.
3. Ensure this job is triggered at least once without errors and notify SureBright after the successful run. SureBright will confirm if the product sync was successful.
4. Schedule this to run at the preferred cadence (SureBright recommends once per day), at a time that's most suitable for a recurring job setup, ideally after the catalog is being updated.

| Parameter | Description | Default Value |
|-----------|-------------|---------------|
| **Scope** | Site scope for product export | Your site identifier |
| **Frequency** | How often to run the job | Daily |
| **Time** | Preferred execution time | After catalog updates |
| **Error Handling** | Retry and notification settings | 3 retries, email notification |

![SFRA Product Export](/images/sfra_productexport.png)

<Info>
  **Best Practice**: Schedule this job to run during low-traffic hours to minimise impact on storefront performance.
</Info>

---

## Schedule the SureBright Orders Creation job

This job sends your orders to SureBright. For each order, SureBright creates the service contracts for the plans that were sold or, on the Post Purchase flow, what it needs to offer a plan after the purchase.

1. Go to Business Manager **→** Administration **→** Operations **→** Jobs. Select the **SureBright Orders Creation** job.
2. Configure the job scope to your site integrating with SureBright.
3. Set the job to run at frequent intervals (recommended: every hour), so plans become contracts soon after the order.
4. Configure error handling and retry mechanisms.

| Parameter | Description | Default Value |
|-----------|-------------|---------------|
| **Scope** | Site scope for order processing | Your site identifier |
| **Frequency** | How often to run the job | Every hour |
| **Queue Processing** | Number of orders to process per run | 50 orders |
| **Error Handling** | Retry and notification settings | 3 retries, email notification |

---

## Check that the jobs are running

1. **Job Status**: Go to `Administration → Jobs → Job Status` to monitor job execution
2. **Job Logs**: Review job logs for errors and performance metrics

## Troubleshooting

| If | Check |
|---|---|
| A job fails to run | The job logs for the specific error message, API connectivity and credentials, and that the system has sufficient resources. |
| Products or orders are not reaching SureBright correctly | Product data format and structure, order data completeness, and the contract creation parameters. |

If you are still stuck, contact your SureBright representative for immediate assistance or email [support@surebright.com](mailto:support@surebright.com) for technical support.

**Next**: go to the [Testing Guide](./testing) to check the integration on your storefront. After go-live, keep monitoring job execution.
