Skip to main content

node-red-contrib-match

A node-red node to match messages by property values.

Version: 1.0.2Weekly Downloads: 3,625Author:Dean CordingUpdated: Jun 21, 2022

node-red-contrib-match

A Node Red node for matching messages by properties within a flow.

This node will check all of the specified properties in a message or in the global or flow contexts and switch the message flow between two outputs depending on whether all rules are met or not.

The match node is configured with a list of rules. Each rule tests one specific property using either the usual comparison operators, ranges, regex, null, not null, boolean values, or type. Comparisons can be made against static values, other properties, and the property's previous value. The specification of the property to be checked is quite powerful, allowing the probing inside objects and arrays.

If all tests pass, the message is sent on the first output. If any test fails, the message is sent on the second output.

Installation

Install in Node-RED via the palette manager.

Animation of the Node-RED palette manager: open Manage Palette, search for the node, then click Install.Node-RED Palette Manager dialog with the node selected and the Install button visible.

Quick Stats

Current Version1.0.2
Weekly Downloads3,625
First PublishedFeb 24, 2017
Last UpdatedJun 21, 2022

Need Help?

Get professional support for your Node-RED projects with FlowFuse.

CONTACT US