Action.PicklistValue Class

Contains methods to get metadata about a single value in a picklist used by invocable action parameters.

Invocable

The following are methods for Action.PicklistValue.

  • getActive()

    Indicates whether a picklist value used by an invocable action parameter is active.

  • getDefaultValue()

    Indicates whether a picklist value used by an invocable action parameter is the default value.

  • getLabel()

    Gets the label of a picklist value used by an invocable action parameter.

  • getValidFor()

    Gets the valid-for dependency information for a picklist value used by an invocable action parameter.

  • getValue()

    Gets the API value of a picklist option used by an invocable action parameter.

Indicates whether a picklist value used by an invocable action parameter is active.

public Boolean getActive()

Type: Boolean

This method returns true if the picklist value for the invocable action parameter is active.

Indicates whether a picklist value used by an invocable action parameter is the default value.

public Boolean getDefaultValue()

Type: Boolean

This method returns true if the picklist value used by the invocable action parameter is the default value.

Gets the label of a picklist value used by an invocable action parameter.

public String getLabel()

Type: String

Label of the picklist value used by the invocable action parameter.

Gets the valid-for dependency information for a picklist value used by an invocable action parameter.

public String getValidFor()

Type: String

Valid-for dependency string of the picklist value used by the invocable action parameter, or null if no dependencies exist.

Gets the API value of a picklist option used by an invocable action parameter.

public String getValue()

Type: String

API value of the picklist option used by the invocable action parameter.