List Notification Events Node

The “List Notification Events” node returns a list of all notification events currently defined in the system.

Image of the List Notification Events Node

Node Properties Panel Field Description

Node property configuration slide-out panel (this panel is accessed by double-clicking on the node).

Properties Configuration Panel of the List Notification Events Node

Node-RED Specific Fields

  1. Name Field:  Add a descriptive name of your choice that will help differentiate this node from others of the same type on the Node-RED workspace (not required).
  2. Connection Field: This drop-down selection is required.  Set a previously configured Catenis connection (virtual device). If you need to configure a new virtual device click the pencil button to the right of the field and follow the direction on setting up a new virtual device that can be found here.

How to use interactively

This node can only be used in interactive mode. Interactive mode allows the end user to click on the action button attached to the left of the node. This action triggers the Catenis API method passing the parameters set in the node’s properties slide out panel. 

  1. Drag and drop this node from the Catenis Flow pallet area to the Node-RED workspace. Double click it to display its properties slide out panel.
  2. On the “Device” drop-down field of the properties slide out panel choose the Catenis virtual device you previously configured. The virtual device is a configuration node containing the Catenis Virtual device information (device ID and API Secret key).
  3. Wire this node to a debug node.
  4. Click the red “Deploy” button on the upper right hand side of the Node-RED dashboard to deploy this flow. 
  5. To test the flow: click the square gray box to the left of the “list notification events” node. A JSON object containing all notification events should now be printed onto the debug sidebar.

Example Flow - Import Into Node-Red to Get Started

[{"id":"e101b454.219968","type":"tab","label":"Flow 15","disabled":false,"info":""},{"id":"356f8723.b959f8","type":"list notification events","z":"e101b454.219968","name":"","device":"","x":340,"y":120,"wires":[["d4605fab.07198"]]},{"id":"d4605fab.07198","type":"debug","z":"e101b454.219968","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":610,"y":120,"wires":[]},{"id":"1bfdc900.21e597","type":"comment","z":"e101b454.219968","name":"Set virtual device for this Catenis node","info":"All Catenis nodes require that you set the proper virtual device on its slideout property panel on the device field.\n\nNot setting the device properly will result in a \"TypeError: Cannot read property 'ctnApiClient' of null\" ","x":365,"y":75,"wires":[]}]

Note: After importing this flow you will need to set the Catenis Flow node(s) in this flow to use a previously configured virtual devices. Instructions on how to set up your virtual device on Node-RED can be found here:

Related Articles

How can we make things Better for you?
  • Accepted file types: jpg, gif, png, pdf.
  • This field is for validation purposes and should be left unchanged.