version
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
workflowVersion | string | Yes | data type=string; maxLen=255Version of this workflow. |
settings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
state | enum | Yes | inDevelopment | data type=string; maxLen=128; lov=STATICValid values: inDevelopment active inactive |
settings {
state: inDevelopment
}additionalData
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | data type=string; lov=STATICValid values: tableView sqlQuerySelect how additional data is queried that can be used to evaluate variables,
participants and conditions during the execution of the activities of the workflow.. | |
tableOwner | string | No | data type=string; maxLen=32767Applies when type = tableView | |
tableName | string | Yes | data type=string; maxLen=32767Applies when type = tableView | |
sqlQuery | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = sqlQuery |
additionalData {
type: tableView
tableOwner: value
tableName: value
sqlQuery: ```sql
value
```
}columnMapping
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
primaryKeyColumn | string | Yes | data type=string; maxLen=32767Applies when type = tableView
The primary key column for the table which will serve as the system of records during execution of this workflow version. |
columnMapping {
primaryKeyColumn: value
}advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
debugLevel | enum | No | data type=string; lov=STATICValid values: info warning error trace | |
diagram | string | No | data type=string; maxLen=32767 |
advanced {
debugLevel: info
diagram: value
}comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | data type=multiline string; maxLen=4000 |
comments {
comments: ```
value
```
}APEXlang Example
version sample (
workflowVersion: value
settings {
state: inDevelopment
}
additionalData {
type: tableView
tableOwner: value
tableName: value
sqlQuery: ```sql
value
```
}
columnMapping {
primaryKeyColumn: value
}
advanced {
debugLevel: info
diagram: value
}
comments {
comments: ```
value
```
}
)