If else

Hello,
I am looking to perform if -else operations on two columns from different tables,which nodes can i use ?
Thanks in advance.

Hi
Try the rule engine or the rule pased row filter…

Hi pruthvi1286,

can you provide more information as to what the desired result is?

In absence of more information, in the node repository, there’s workflow control-> switches, which provides If and Case switches. In order to autonomously direct the flow, you’ll need to extract the value you’re seeking using the rule engine and based on the result specify in your rule engine as “top”,“bottom”, or both. You’ll need to end your switch with and End If or Case … (End).

Maybe https://hub.knime.com/knime/workflows/Examples/06_Control_Structures/05_Switches/02_Using_a_If_Switch*HX6X19wFZ41e0Ri9 is helpful to better understand the concept of if/else switches in KNIME.

Cheers,

Christian

Hello,
so my code is like this :slight_smile:
for all sid :
if sid==pid :
try:
sid[1]==pid[4]
re=True
exception:
#users
Thanks in advance