Skip to main content
Solved

'If' condition not working in Action Flow


Hi,

 

In the Set Variable module in my Action Flow, the 'If' expression below evaluates to 'A' whereas it should evaluate to 'B'. Where am I going wrong?

 

if(1=2; A; B)

 

image 

Thanks !

Bhasker

Best answer by Anonymous

Dear @bhasker.sathy 

 

Your '1 = 2' is not recognized as comparison but just string. Please use equal tag from variable pallet > General Functions > Operator, then this comparison returns false like below picture.

 

Best regards,

Kazuhiko

 

image

View original

2 replies

  • Answer
  • July 4, 2022

Dear @bhasker.sathy 

 

Your '1 = 2' is not recognized as comparison but just string. Please use equal tag from variable pallet > General Functions > Operator, then this comparison returns false like below picture.

 

Best regards,

Kazuhiko

 

image


Thank you @kazuhiko.takat12 . That worked !