node-red-contrib-match 1.0.2

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

npm install node-red-contrib-match

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.

Node Info

Version: 1.0.2
Updated 8 years, 1 month ago
License: Apache-2.0
Rating: not yet rated

Categories

Actions

Rate:

Downloads

25 in the last week

Nodes

  • match

Keywords

  • node-red
  • match
  • filter

Maintainers