StageCondition

Represents a collection of fields to set up the rules in transition criteria and stage change, including the object state, logic, and values. This object is available in API version 62.0 and later.

Supported SOAP API Calls 

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Supported REST API Methods 

DELETE, GET, HEAD, PATCH, POST, Query

Special Access Rules 

To access this object in your org, enable the Stage Management setting.

Fields 

ManageableState 

  • Type: picklist
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Description

Operator 

  • Type: picklist

  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update

  • Description: Operator for stage condition filter (enumeration of type string).

  • Possible values:

    • Contains
    • DoesNotContain
    • Equals
    • GreaterOrEqual
    • GreaterThan
    • LessOrEqual
    • LessThan
    • NotEqualTo
    • StartsWith

SequenceNumber 

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The order of the object state transition condition in a sequence.

SourceField 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The object field to define filter conditions.

StageCriteriaId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: The stage criteria associated with the stage definition.

    This field is a relationship field.

  • Relationship Name: StageCriteria

  • Relationship Type: Master-detail

  • Refers To: StageCriteria (the master object)

Value 

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: Value for the field criteria.