Condition stream routing

I am looking at a way to push an entire stream down one of two paths depending on if it contains a value or not in any of its subnodes.

so if you had…

root
__row
____values
__row
____values
etc etc.

if any one of those values equals a given value then send the entire stream down one path, else send it down another.

I was thinking possibly with a condition or something but was not sure the best way to handle this or if I am stuck doing it with java

Hi Brent,

You can do this with two Conditional Execution - Data Stream modules, each with a subassembly embedded. One tests for the presence of the value, the other tests for the absence.

Just choose the data stream to send to the subassembly: