Filter
The filter component filters the data transferred to this component based on the specified expression and transfers the filtered data to subsequent nodes through node variables. Generally, a filter component is the subsequent node of a splitter component.
Configuration Parameters
| Parameter | Description |
|---|---|
| Expression | Expression for filtering data. Use an expression to filter data and transfer the filtered data to subsequent nodes. For example, if multiple data blocks are {"id":1} and {"id":2}, you can use expression ${payload.id} > 1 to filter for the data block {"id":2}. |
If no data matches the filtering expression, subsequent nodes of the Filter node will not be executed. The input in the expression complies with the Simple expression specifications.

Example
Example 1
Input:
- Data: {"id":1} and {"id":2}
- Expression: ${payload.id} > 1
Output:
- {"id":2}
Example 2
Input:
- Data: {"id": "123"} and {"id": "456"}
- Expression: ${payload.id} == "123"
Output:
- {"id": "123"}
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot