PySNC icon indicating copy to clipboard operation
PySNC copied to clipboard

Glide Record changes method return False if more than one field is changed

Open ITblacksheep opened this issue 1 year ago • 0 comments

If you have more than one field change in a record the changes() method will return False. I am pretty sure it is because xor on True and True returns False.

to reproduce:

gr = GlideRecord(table)
gr.get("number",record_id)
gr.set_value('state',2)
gr.set_value('work_notes','Testing')
gr.changes()

ITblacksheep avatar Jul 19 '24 13:07 ITblacksheep