Skip to content

UniversalFlowInputOutputParameter

codefriar edited this page Oct 5, 2023 · 2 revisions

STATUS: ACTIVE

This class contains the object definition used by the Universal Invocable Action. It's designed to expose variables of every type allowed by the InvocableVariable method in a single object. It uses type detection to set the correct property on ouput.

Constructors

public UniversalFlowInputOutputParameter()

SUPPRESSWARNINGS

Default no parameter constructor required by the Invocable Variable/Method system for constructing an output parameter.

public UniversalFlowInputOutputParameter(Object value)

Wraps an Object into different property types that will be used by flows.

Parameters

Param Description
value The value to convert into native data types

Fields

public booleanValueBoolean

AURAENABLED INVOCABLEVARIABLE

public booleansBoolean

AURAENABLED INVOCABLEVARIABLE

public dateTimeValueDatetime

AURAENABLED INVOCABLEVARIABLE

public dateValueDate

AURAENABLED INVOCABLEVARIABLE

public datesDate

AURAENABLED INVOCABLEVARIABLE

public datetimesDatetime

AURAENABLED INVOCABLEVARIABLE

public decimalValueDecimal

AURAENABLED INVOCABLEVARIABLE

public decimalsDecimal

AURAENABLED INVOCABLEVARIABLE

public doubleValueDouble

AURAENABLED INVOCABLEVARIABLE

public doublesDouble

AURAENABLED INVOCABLEVARIABLE

public integerValueInteger

AURAENABLED INVOCABLEVARIABLE

public integersInteger

AURAENABLED INVOCABLEVARIABLE

public longValueLong

AURAENABLED INVOCABLEVARIABLE

public longsLong

AURAENABLED INVOCABLEVARIABLE

public parameterNameString

AURAENABLED INVOCABLEVARIABLE

This is an 'Apex Defined Type'. According to the documentation, the following types are supported: Boolean, Date, DateTime, Double, Decimal, Integer, Long, and String https://help.salesforce.com/s/articleView?id=sf.flow_considerations_apex_data_type.htm&type=5

public parameterTypeString

AURAENABLED INVOCABLEVARIABLE

public sobjectValueSObject

AURAENABLED INVOCABLEVARIABLE

public sobjectsSObject

AURAENABLED INVOCABLEVARIABLE

public stringValueString

AURAENABLED INVOCABLEVARIABLE

public stringsString

AURAENABLED INVOCABLEVARIABLE


Clone this wiki locally