node-red-contrib-input-split 0.1.0

Split an input on multiple outputs based on the provided configuration.

npm install node-red-contrib-input-split

RedConnect Approved

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-input-split

Overview

Split an input on multiple outputs based on the provided configuration.

Example

Assuming that our configuration is to split the input on :

payload.a --> output 1
payload.b --> output 2
payload.c --> output 3

The below input will become

{
       "payload" : {
           "a" : 2,
           "b" : 3,
           "c" : 4
       },
       "_other" : 4
}

Output 1

{
       "payload" : 2,
       "_other" : 4
}

Output 2

{
       "payload" : 3,
       "_other" : 4
}

Output 3

{
       "payload" : 4,
       "_other" : 4
}

Input Split

This node defines from which point the flow splits.

The node have the following properties :

Properties to Split

Here you define how many couples of input [tiny arrow] --> outputs that you want, the value in output is always putted as payload.

Node Info

Version: 0.1.0
Updated 8 years, 11 months ago
License: Apache-2.0
Rating: 5.0 2

Actions

Rate:

Downloads

29 in the last week

Nodes

  • sqlarray
  • Input Split

Keywords

  • node-red
  • flow
  • split
  • redconnect

Maintainers

Contributors

  • Maurizio Carboni