Toggle menu

helper.utilQueryActions(contextVariables)

Returns an array of objects that contain the field and action names of all actions defined in the supplied context variables.

Executed

Server-side only

Arguments

ArgumentTypeDescription
contextVariablesObject, requiredThe skeleton processor context variables

Return

Array

Example

Imagine a form with a script action, a confirmation message action and an email action. 

actions = helper.utilQueryActions(context);

Returns:

[{
    "fieldName": "SCRIPTFIELDNAME",
    "actionName": "SCRIPT"
}, {
    "fieldName": "CONFMFIELDNAME",
    "actionName": "CONFMESSAGE"
}, {
    "fieldName": "EMAILFIELDNAME",
    "actionName": "EMAIL"
}]

Last modified on March 06, 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon