Java Filter
Description
Java Filter routes incoming rows to one of two target steps based on the result of a custom Java expression. Use this step when the built-in Filter Rows conditions are not flexible enough for your logic — for example, when you need string manipulation, regular expressions, or mathematical calculations as part of the filtering decision. Rows that match the expression go to the matching-rows step, and rows that do not match go to the non-matching-rows step. Both destination steps are optional, so you can use this step to simply discard non-matching rows if needed.
Configurations
| Field Name | Description |
|---|---|
| Step name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
| Destination step for matching rows (optional) | Specify the step to send the rows for which the condition evaluates to true. |
| Destination step for non- matching rows (optional) | Specify the step to send the rows for which the condition evaluates to false. |
| Condition (Java Expression) | Provide a condition/Java expression to filter the data. |