ApprovalWorkItemCondition
Represents a condition for starting and concluding an approval step that’s evaluated as part of the smart approval process.
Introduced in API version 64.0.
describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update()
- This object is available in Enterprise, Professional, Unlimited, and Developer Editions where Advanced Approvals is enabled with the Modify All Data or the Approval Admin user permission.
-
Type: reference
-
Properties: Filter, Group, Sort
-
Description:
The approval work item criteria associated with the approval work item condition. The approval work item criteria defines the logic by which the approval conditions are evaluated.
This field is a relationship field.
-
Relationship name: ApprovalWorkItemCriteria
-
Relationship type: masterdetail
-
Refers to: ApprovalWorkItemCriteria
- Type: int
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The order in which the condition is evaluated relative to other conditions that are part of the requirement logic.
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort, Update
-
Description:
Indicates whether the first value (left side) evaluates against the second value (right side) successfully (
true) or not (false).The default value is
false. -
Default value: false
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 66.0
-
Description:
Indicates whether the condition must be excluded from evaluation (
true) or not (false) in an auto-approval process.The default value is
false. -
Default value: false
- Type: textarea
- Properties: Nillable, Update
- Description: The first value of the condition that’s evaluated against the second value.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The data type of the first operand (left side) in this condition.
- Possible values:
- Apex — Apex
- Boolean — Boolean
- Currency — Currency
- Date — Date
- DateTime — DateTime — Date/Time
- MultiSelectPicklist — MultiSelectPicklist — Multi-Select Picklist
- Number — Number
- Other — Other
- Picklist — Picklist
- Text — Text
- Time — Time
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: The sequentially-generated name of the approval work item condition record, for example AWCO-000000071.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The operator for the condition.
- Possible values:
- Contains — Contains
- EndsWith — EndsWith
- Equal — Equal
- GreaterThan — GreaterThan
- GreaterThanOrEqualTo — GreaterThanOrEqualTo
- HasError — HasError
- In — In
- IsBlank — IsBlank
- IsChanged — IsChanged
- IsEmpty — IsEmpty
- IsNull — IsNull
- LessThan — LessThan
- LessThanOrEqualTo — LessThanOrEqualTo
- None — None
- NotEqualTo — NotEqualTo
- NotIn — NotIn
- StartsWith — StartsWith
- WasSelected — WasSelected
- WasSet — WasSet
- WasVisited — WasVisited
- Type: textarea
- Properties: Nillable, Update
- Description: The second value (right side) of the condition that’s evaluated against the first value.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The data type of the second operand for the condition.
- Possible values:
- Apex — Apex
- Boolean — Boolean
- Currency — Currency
- Date — Date
- DateTime — DateTime — Date/Time
- MultiSelectPicklist — MultiSelectPicklist — Multi-Select Picklist
- Number — Number
- Other — Other
- Picklist — Picklist
- Text — Text
- Time — Time
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.