Filter Node
Filter Node
Article summary
Did you find this summary helpful?
Thank you for your feedback
Filter Node
The filter node determines which data passes through the node to other stages in the workflow. It checks incoming data for the input field name and outputs data based on the condition you configure. This node will only send an output when the payload meets the prescribed condition.
Adding a Filter node to your workflow
- First, select your desired solution and navigate to Rayven Workflow.
- Select ‘Functions’ from the left-hand panel.
- Find the Filter node and drag it onto the canvas.
- Connect the Filter node to your desired input node.
- Double click on the Filter node to open its configuration window.
Configuring your Filter node
- Give your node a Name. Choose something simple that clearly explains its purpose. You must pick a name that has three or more characters.
- Under Data Field Name, enter the field within the incoming JSON payload that contains the data you want to display on the widget.
- Select 'Field Exists' if you want the node to pass on all JSON payloads with this field and stop all without it.
- Alternatively, you can set a condition the data must match to pass through the node:
- Select = if you want the case to operate only if the data field equals a set value or string.
- Select > if you want the case to operate only if the data field is larger than the set value or string.
- Select < if you want the case to operate only if the data field is smaller than the set value or string.
- Select <> if you want the case to operate only if the data field is not equal to the set value or string.
- Once you've set a condition, enter the value or string to complete the rule.
- If you want the first payload of the period to pass through and all others to be blocked, you can configure 'Once in time period'. The dropdown options are:
- Hour,
- Day,
- Week,
- Month.
- If you enter a time period, you'll need to select an integer for the units.
- For example, to select a period of an hour, 'Once in time period' should be set to 'Hour' and 'Units' to '1'.