Select All Storefront Sites or Site Parameter for Job Flow Scope

When you create a job flow, you can now select from four options for flow scope: Organization, All Storefront Sites, Specific Sites, and Site Parameter. The two new options, All Storefront Sites and Site Parameter, allow you to more easily specify which sites to include in the scope.

How: Open a job at Administration | Operations | Jobs. Add a flow to the job and select one of the following 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, a SiteScope parameter with an empty value is added to the job. Using the OCAPI Data API, you can specify one or more specific sites or all storefront sites for SiteScope.
Note
Note

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.