---
schema_version: "1"
id: 513be2035a690d0c13eec3b8dc4d39ae4344f10c27d2abf4f52eeb1305f90172
title: Job Flow Scope
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_scope.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_scope.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 95577827bd938ef4d2faf51feb9d5f62a50ded744dcb20c9cd9904b789705dbc
description: Each flow has a scope, either the entire organization, all B2C Commerce storefront sites, specific storefront sites, or sites that you pass to the job at execution time using the Open Commerce API (OCAPI) data API. Some job steps, such as CreateSitemap, can execute only in the context of a site. Other job steps, such as ExecuteDataReplication, can execute only in the context of the organization. If you try to assign a job step to a flow that has a scope the step doesn't support, the step shows an error.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Job Flow Scope

Each flow has a scope, either the entire organization, all B2C Commerce storefront sites, specific storefront sites, or sites that you pass to the job at execution time using the Open Commerce API (OCAPI) data API. Some job steps, such as CreateSitemap, can execute only in the context of a site. Other job steps, such as ExecuteDataReplication, can execute only in the context of the organization. If you try to assign a job step to a flow that has a scope the step doesn't support, the step shows an error.

When you create a job flow, select one of the following scope options:

- **Organization**: Flow executes for the instance.
- **All Storefront Sites**: Flow executes on all storefront sites available at the time the job executes. Flow doesn’t execute on the Business Manager site or on sites with a to-be-deleted status.
- **Specific Sites**: Flow executes only on the storefront sites you select.
- **Site Parameter:** Flow executes on the sites you pass to it using the OCAPI Data API. You can't execute the job from Business Manager, and you can't schedule the job to run automatically. The Run Now button and scheduling options in Business Manager are disabled. If you select this option, B2C Commerce adds a SiteScope parameter with an empty value to the job. Using the OCAPI Data API, specify one or more specific sites or all storefront sites for SiteScope.

When you configure a sequential flow to run for more than one site, B2C Commerce executes the flow in parallel for the different sites, as long as there are enough system resources to accommodate parallel execution.