ConstThe type of the expression being wrapped
The datapill expression (e.g., params.trigger.current.active)
The data type of the datapill value
The same expression (passthrough at runtime)
// Boolean trigger field
wfa.dataPill(params.trigger.current.active, 'boolean')
// String flow variable
wfa.dataPill(params.flowVariables.userName, 'string')
// Reference field with dot-walking
wfa.dataPill(params.trigger.current.assigned_to.email, 'string')
// Reference field with TableAwareRecord (from OutputsWithDotwalk)
wfa.dataPill(params.flowVariables.userRef, 'reference')
// Action output reference
wfa.dataPill(createIncident.record, 'reference')
// In template literals
`Hello ${wfa.dataPill(params.flowVariables.userName, 'string')}`
Wrapper function for datapill expressions that provides type information. This function wraps PropertyAccess expressions and associates them with their data type for proper serialization to Flow Designer XML format.
At runtime, this function is a passthrough that returns the expression unchanged. The type information is used at compile/build time by the build plugins.
Special handling: TableAwareRecord types from OutputsWithDotwalk are accepted without strict type checking, as they represent expanded reference types with dotwalk support.