@salesforce/b2c-tooling-sdk / operations/jobs / SystemJobSpec
Interface: SystemJobSpec
Defined in: packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:77
Declarative description of a system job to run. The operation supplies its job ID and the two request-body forms; this module drives the rest.
Properties
body
body:
Record<string,unknown>
Defined in: packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:87
System-job configuration sent on both APIs (e.g. {file_name}, {export_file, data_units}, or the CAP {app_name, ...} shape). These system jobs retain snake_case fields on SCAPI. When the instance rejects it with UnknownPropertyException, the OCAPI path retries with parameters.
deprecatedScopes?
optionaldeprecatedScopes:string[]
Defined in: packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:94
Scopes named in the OCAPI-deprecation error (the rw jobs scope).
failVerb
failVerb:
string
Defined in: packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:100
Human-readable verb for error messages, e.g. 'execute import job'.
jobId
jobId:
string
Defined in: packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:79
System job ID, e.g. sfcc-site-archive-import.
parameters
parameters:
object[]
Defined in: packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:92
Job parameters ([{name, value}]) for the OCAPI internal-user retry. System jobs do not use the generic SCAPI JobExecutionRequest body.
name
name:
string
value
value:
string
wait?
optionalwait:boolean
Defined in: packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:96
Whether to wait for completion (default true).
waitOptions?
optionalwaitOptions:WaitForJobOptions
Defined in: packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:98
Wait options forwarded to the poll loop.