PySNC
PySNC copied to clipboard
Glide Record changes method return False if more than one field is changed
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()