The filter node in Byteline helps to filter the data based on your specifications. For instance, you have some large data, but you don’t need all of it; you can easily use the filter node and filter out the things you don’t need.
Follow the easy steps mentioned below to filter data in Byteline.
For this documentation, we are assuming you have already initiated a flow. Filter node can work with any trigger. For creating a flow design, you can refer to the guide here.
Here’s how you can configure the filter node.
Step 1: Click on the add button to add the next node.
Step 2: Select the Filter node from the node configuration window.
Step 1: Click on the edit button to configure the filter.
Step 2: A modal window will appear where you can configure the filter.
Step 3: Tick the Loop over checkbox as it is mandatory.
Step 4: For loop over, select the array from the drop-down list.
Step 5: Pick an array from the list and enter the same in the loop over input field
Configure the Conditions
Step 1: Select any of the conditions from the drop-down menu.
Condition 1: AND (ALL Condition) - It will filter data from both fields.
Condition 2: OR (ANY Condition) - It will filter data from either of the fields.
Step 2: Click on the Selector button to select a field name.
Step 3: Select the variable name from the list.
Note: The selected variable name shall be fetched automatically in the respective field.
Step 4: Now, select the condition. You can select any of the seven conditions as explained below:
Begins With- All the records of the variable field should begin with the value in the comparison value field.
Contains - All the records of the variable field should have the text selected in the comparison value field.
Not Contains - All the records of the variable field should not have the text selected in the comparison value field.
Is Empty - The attribute value is empty and no data exists.
Is Not Empty - The field specified should not be blank and it must have a value.
Equals - The value of the selected field should exactly match the specified comparison value.
Not Equals - This is the opposite of Equals. The value of the selected field must NOT exactly match the specified comparison value.
Step 5: Click on the Save button.
Step 6: The green indicator on the node reflects that the node has been successfully configured.
Your Filter node has been configured successfully. Feel free to connect with us for any doubt.