Skip to main content
Version: 4.62

setParams

Sets values to the event parameters.

Field Configurations

KeyTypeDescriptionDefault Value
"params" (required)Objectundefinednull

Inherited

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples

Example 1: Assigned static value

Show ExampleHide Example

Create a parameter named birthday and assign a static value to it.

{
"type": "setParams",
"params": {
"birthday": {
"value": "29.04.1999"
}
}
}

Example 2: Assigned dynamic value

Show ExampleHide Example

Create a parameter named startDate and assign it a named form value — in this case the value of the field pickedStartDate of the named form timeFrame.

{
"type": "setParams",
"params": {
"startDate": {
"context": "namedForm",
"field": "timeFrame:pickedStartDate"
}
}
}