---
schema_version: "1"
id: c716049572e6cfa1d890f60de38fc9d76a0771fd53cf99720c8616786c01e504
title: AutomatedActionCondition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_automatedactioncondition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_automatedactioncondition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d6dd0163c1d58c6f2299a6352110bf7fed3c1a5e81b17e37bdf6e34bad33ce7a
description: Represents the logical operator details for evaluating conditions in an automated action. This object is available in API version 57.0 and later.
---
# AutomatedActionCondition

Represents the logical operator details for evaluating conditions in an automated action. This object is available in API version 57.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| AutomatedActionId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the automated action.

This field is a relationship field.

Relationship Name

AutomatedAction

Relationship Type

Lookup

Refers To

AutomatedAction



 |
| ConditionNumber | 

Type

int

Properties

Create, Filter, Group, Sort, Update

Description

Reference number of the condition containing advanced filter logic.



 |
| IsLocked | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the automated action condition record is locked or not.

The default value is false.



 |
| MayEdit | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the automated action condition record can be edited or not.

The default value is false.



 |
| Operator | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

The logical operator for this condition.

Possible values are:

- Contains
- EndsWith
- Equal
- GreaterThan
- GreaterThanOrEqual
- IsChanged
- IsNull
- LessThan
- LessThanOrEqual
- NotEqual
- StartsWith





 |
| ReferenceField | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The field to use for this condition.



 |
| Type | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The type of condition.

Possible values are:

- ExtraFilterCondition
- PrimaryFilterCondition





 |
| Value | 

Type

textarea

Properties

Create, Nillable, Update

Description

The value to compare to the ReferenceField.



 |