Variable Expression to set/update Boolean type of variable?



It came to me as a surprise that we cannot use boolean type variable in the “Expression” function. Can someone please confirm me this?

This is what I want to do:

  1. Iterate through a list of orders
  2. Pick an order and set a flag using “Wait For Image” - which could be true or false based on the results
  3. For the next item I want to reset the variable’s value back to “false” but don’t see the “Expression” action working for this!


You have to use “constant value” to set it to “false”


Thanks @Pierre_Bernier3 it worked, I didn’t realize that before :slight_smile: