How to change Flag value in flow decision


I am working on web application and iam searching supplier name in search box if catalog found with supplier name i need to reject request not found i need to click on contracts link.

To reject Request or click on contracts i need to go back to home page now problem is ,

To check catalog exist i have take element exists activity and passing flag value. Initially flag value set as “False”. after that to check condition i have take a flow decision in that also same flag variable i used. but when running iam getting only True in message box. How to change flag value if condition doesn’t meet? Please suggest iam new to ui path.


Did you try to use Assign activity?

Flag = True or Flag = False

Also can you attach a workflow for better understanding


1 Like

Ok Thanks