Action.InputParameter Class

Contains methods to get metadata about input parameters for invocable actions.

Invocable

The following are methods for Action.InputParameter.

  • getAdditionalAttributes()

    Gets a list of additional attributes for an invocable action input parameter.

  • getApexClass()

    Gets the Apex class name of an input parameter for an invocable action.

  • getByteLength()

    Gets the maximum byte length of an input parameter of an invocable action.

  • getConfiguration()

    Indicates whether an input parameter of an invocable action is a configuration parameter.

  • getDefaultValue()

    Gets the default value for an input parameter of an invocable action.

  • getDescription()

    Gets the description of an input parameter of an invocable action.

  • getLabel()

    Gets the label of an input parameter of an invocable action.

  • getMaxOccurs()

    Gets the maximum number of occurrences for an input parameter of an invocable action.

  • getName()

    Gets the name of an input parameter of an invocable action.

  • getPicklistValues()

    Gets a list of picklist values for an input parameter of an invocable action.

  • getPlaceholderText()

    Gets the placeholder text of an input parameter of an invocable action.

  • getRequired()

    Indicates whether an input parameter of an invocable action is required.

  • getSObjectType()

    Gets the sObject type of an input parameter of an invocable action.

  • getSetupReferenceType()

    Gets the setup reference types of an input parameter of an invocable action.

  • getToolingType()

    Gets the tooling type of and input parameter of an invocable action.

  • getType()

    Gets the data type of an input parameter of an invocable action.

Gets a list of additional attributes for an invocable action input parameter.

public List<Invocable.Action.AdditionalAttribute> getAdditionalAttributes()

Type: List<Invocable.Action.AdditionalAttribute>

Gets the Apex class name of an input parameter for an invocable action.

public String getApexClass()

Type: String

Apex class name of the input parameter of the invocable action.

Gets the maximum byte length of an input parameter of an invocable action.

public Integer getByteLength()

Type: Integer

Maximum byte length of the input parameter of the invocable action.

Indicates whether an input parameter of an invocable action is a configuration parameter.

public Boolean getConfiguration()

Type: Boolean

This method returns true if the input parameter of the invocable action is a configuration parameter.

Gets the default value for an input parameter of an invocable action.

public Object getDefaultValue()

Type: Object

The default value, or null if no default is defined.

Gets the description of an input parameter of an invocable action.

public String getDescription()

Type: String

Description of the input parameter of the invocable action.

Gets the label of an input parameter of an invocable action.

public String getLabel()

Type: String

Label of the input parameter of the invocable action.

Gets the maximum number of occurrences for an input parameter of an invocable action.

public Integer getMaxOccurs()

Type: Integer

Maximum number of occurrences for the input parameter of the invocable action. If occurrences are unbounded, returns -1.

Gets the name of an input parameter of an invocable action.

public String getName()

Type: String

Name of the input parameter of the invocable action.

Gets a list of picklist values for an input parameter of an invocable action.

public List<Invocable.Action.PicklistValue> getPicklistValues()

Type: List<Invocable.Action.PicklistValue>

Gets the placeholder text of an input parameter of an invocable action.

public String getPlaceholderText()

Type: String

Placeholder text of the input parameter of the invocable action.

Indicates whether an input parameter of an invocable action is required.

public Boolean getRequired()

Type: Boolean

This method returns true if the input parameter of the invocable action is required.

Gets the sObject type of an input parameter of an invocable action.

public String getSObjectType()

Type: String

SObject type of the input parameter of the invocable action.

Gets the setup reference types of an input parameter of an invocable action.

public List<String> getSetupReferenceType()

Type: List<String>

List of setup reference type identifiers of the input parameter of the invocable action.

Gets the tooling type of and input parameter of an invocable action.

public String getToolingType()

Type: String

Tooling type of the input parameter of the invocable action.

Gets the data type of an input parameter of an invocable action.

public String getType()

Type: String

Data type of the input parameter of the invocable action.