Module: event

Event action to notify an event to all its subscribers
Parameters:
Name Type Description
node object The configuration object for the event action
Properties
Name Type Default Description
type string 'action' The type of the node is action
actionType string 'event' The actionType of the node is event
options object The options pertaining to the event action
Properties
Name Type Description
target string The name of the channel to notify
params object | array Key-value pairs to pass along as data with the event that will be mustache rendered
paramsKey string The key of the data for the parameters
useOptions boolean Boolean to determine whether to use the options as the data to pass along or to use the params
data object Data object to pass along with the event
Source:
Example
{
       "type": "action",
       "actionType": "event",
       "options": {
           "target": "my_grid.add",
           "params": [
               {
                   "name": "{{request.name}}",
                   "endpoint": "{{request.uri}}",
                   "status": "{{status}}"
               }
           ],
           "useOptions": true
       }
   }