Module: series

Series action to perform a set of actions synchronously
Parameters:
Name Type Description
node object The configuration object for the series action
Properties
Name Type Default Description
type string 'action' The type of the node is action
actionType string 'series', The actionType of the node is series
text string The text to display on the button
options object The options pertaining to the series action
Properties
Name Type Description
actions array Array of actions to perform synchronously
Source:
Example
{
       "type": "action",
       "actionType": "series",
       "text": "Start Actions",
       "options": {
           "actions": [
                {
                   "type": "action",
                   "actionType": "route",
                   "text": "Add User",
                   "options": {
                       "target": "add-user"
                   }
                },
                {
                   "type": "action",
                   "actionType": "event",
                   "options": {
                       "target": "my_grid.add",
                       "params": [
                           {
                               "name": "{{request.name}}",
                               "endpoint": "{{request.uri}}",
                               "status": "{{status}}"
                           }
                       ],
                       "useOptions": true
                   }
               }
           ]
       }
   }