---
schema_version: "1"
id: 02efdebc22b32ddd2db0ded540a069867e4b83165338bdec6e58d6185ebb2579
title: ApprovalWorkItemCriteria
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_approvalworkitemcriteria.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_approvalworkitemcriteria.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 14f3e7006d4cf0e2d7c952964aa28609d2a836aa7b8200e8542cf4c5199bdf2b
description: Represents the logic by which a smart approval request is evaluated. This object is available in API version 64.0 and later.
---
# ApprovalWorkItemCriteria

Represents the logic by which a smart approval request is evaluated. This object is available in API version 64.0 and later.

## Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update()

## Special Access Rules

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.

## Fields

| Field | Details |
| --- | --- |
| ApprovalStepApiName | 
Type

string

Properties

Filter, Group, Sort, Update

Description

The unique API name of the approval step that uses the logic in the approval work item criteria.



 |
| ApprovalWorkItemId | 

Type

reference

Properties

Filter, Group, Sort

Description

The parent approval work item associated with the approval work item criteria.

This field is a relationship field.

Relationship Name

ApprovalWorkItem

Relationship Type

Master-detail

Refers To

ApprovalWorkItem (the master object)



 |
| CriteriaType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Specifies whether the requirement logic is for an entry or exit condition.

Possible values are:

- Entry
- Exit





 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The sequentially-generated name of the approval work item criteria record, for example AWCR-000000071.



 |
| RequirementLogic | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

The requirement logic of all entry or exit conditions.



 |