activityVariable
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | data type=string; maxLen=255; textCase=UPPER |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | Yes | data type=string; maxLen=4000An end-user friendly name of the workflow variable. |
label {
label: value
}parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | enum | Yes | varchar2 | data type=string; maxLen=128; lov=STATICValid values: varchar2 timestamp timestampWithLocalTimeZone timestampWithTimeZone number boolean clob |
parameter {
dataType: varchar2
}value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | null | data type=string; lov=STATICValid values: staticValue item sqlQuery expression functionBody null |
staticValue | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = staticValue | |
staticValue | enum | Yes | data type=string; lov=STATICValid values: true falseApplies when type = staticValue and dataType = boolean | |
item | string | Yes | data type=string; maxLen=255; textCase=UPPERApplies when type = item | |
sqlQuery | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = sqlQuery | |
language | enum | Yes | plsql | data type=string; lov=STATICValid values: sql plsql javaScript-mleApplies when type = expression |
sqlExpression | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = expression and language = sql | |
plsqlExpression | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = expression and language = plsql | |
javaScriptExpression | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = expression and language = javaScript-mle | |
language | enum | Yes | plsql | data type=string; lov=STATICValid values: plsql javaScript-mleApplies when type = functionBody |
plsqlFunctionBody | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = functionBody and language = plsql | |
javaScriptFunctionBody | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = functionBody and language = javaScript-mle |
value {
type: staticValue
staticValue: ```
value
```
item: value
sqlQuery: ```sql
value
```
language: sql
sqlExpression: ```sql
value
```
plsqlExpression: ```plsql
value
```
javaScriptExpression: ```javascript-mle
value
```
plsqlFunctionBody: ```plsql
value
```
javaScriptFunctionBody: ```javascript-mle
value
```
}displayFormatMasks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sessionStateFormatMask | string | No | data type=string; maxLen=255Applies when dataType in (number)dataType in (timestamp)dataType in (timestampWithTimeZone)dataType in (timestampWithLocalTimeZone)Format mask to be used to convert the workflow variable into a NUMBER or TIMESTAMP and back into a VARCHAR2 when the parameter is used in a bind variable or substitution string. | |
trueValue | string | No | data type=string; maxLen=10Applies when dataType = boolean | |
falseValue | string | No | data type=string; maxLen=10Applies when dataType = boolean |
displayFormatMasks {
sessionStateFormatMask: value
trueValue: value
falseValue: value
}comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | data type=multiline string; maxLen=4000 |
comments {
comments: ```
value
```
}APEXlang Example
activityVariable sample (
staticId: value
label {
label: value
}
parameter {
dataType: varchar2
}
value {
type: staticValue
staticValue: ```
value
```
item: value
sqlQuery: ```sql
value
```
language: sql
sqlExpression: ```sql
value
```
plsqlExpression: ```plsql
value
```
javaScriptExpression: ```javascript-mle
value
```
plsqlFunctionBody: ```plsql
value
```
javaScriptFunctionBody: ```javascript-mle
value
```
}
displayFormatMasks {
sessionStateFormatMask: value
trueValue: value
falseValue: value
}
comments {
comments: ```
value
```
}
)