I am iterating through a list of users, so as to send them an email.
A user can choose to not receive email. This is set in the table Settings with property 'canemail' which is a bool. False means - 'Don't email me'.
In the screenshot below you can see that I test canemail - Stop and Debug shows that, for this record, the value is 'false'.
However, the If test var: can_email=true has therefore failed. In fact all emails, whatever the value of canemail, are being sent.
Can anyone shed any light on this?
Thanks!