Skip to main content
Solved

'If' condition not working in Action Flow

  • July 1, 2022
  • 2 replies
  • 5 views

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

2 replies

  • 0 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


  • Author
  • Level 4
  • 7 replies
  • July 4, 2022

Thank you @kazuhiko.takat12 . That worked !