Rule Engine Node concatenation

Hello guys,
i have a Problem with the definition of a Rule in Rule Engine Node:
The spoken Rule would be:
"If the columns “Produkt”; “Stärke”; “Packung” and “DAFO” contain the same values that are included within the column “Konzern” = “Bayer” => write “Portfolio”
If NOT => write “Other” "

So at the end i can put a row filter that only shows the Row’s with “Portfolio” in it.

I’m very familiar with the IF-function in Excel but the Rule engine node is a bit more complicated when you want to concatinate different rules for different columns.

Thanks a lot in advance!

"If the columns “Produkt”; “Stärke”; “Packung” and “DAFO” contain the same values that are included within the column “Konzern” = “Bayer” => write “Portfolio”

I don’t really understand that rule. I also don’t see where concatenation comes into play.

Can you upload the data (and workflow) that you have so far?

@Vincentsoy if you like more complicated conditions you can always use the Java snippet and just write them the way you like.

It’s just a little bit more setup and not so ‘KNIME like’ but does work perfectly well.

If it is just one condition also the simple Java Snippet might work:

If you still want more Java I have this collection:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.