---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/jobs](../index.md) / SystemJobSpec

# Interface: SystemJobSpec

Defined in: [packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:77](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts#L77)

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](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts#L87)

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](#parameters).

***

### deprecatedScopes?

> `optional` **deprecatedScopes**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:94](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts#L94)

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](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts#L100)

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](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts#L79)

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](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts#L92)

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?

> `optional` **wait**: `boolean`

Defined in: [packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:96](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts#L96)

Whether to wait for completion (default `true`).

***

### waitOptions?

> `optional` **waitOptions**: [`WaitForJobOptions`](WaitForJobOptions.md)

Defined in: [packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts:98](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/operations/jobs/run-system-job.ts#L98)

Wait options forwarded to the poll loop.
