IF Function Query

Hello Amit,

I want to Extract date from 2 positions, Date: A
The bot will check at position 1 if not found it moves to position 2.
I used Control exists on variable A
I used IF flow control as A.ToLower.Contains(“True”)

When I test run, It goes directly to the 2nd position even though the value is present at position 1.

How can I solve this issue? Is the If control syntax correct?

Thanks in advance,

Regards,
Shriyash

Hi,

Control exists interaction returns a boolean value. You can directly do a boolean comparison

Regards,
Amit Anand

Okay, Thank you. It worked