Can't change both number and state of change request

Snow Tomcal
Tera Expert

Hi,

 

I wrote this script in a workflow

IMG_20230816_171215_edit_1285053479717456.jpg
which is supposed to change a change request's number and state.
for some reason, when I try to update them together with the same GlideRecord object both attributes stay the same, but when I split the update to 2 separate objects I manage to update both without a problem.
 
can someone tell me why this happens?

 

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

There's nothing out of box that would be causing this, but are you able to do this manually on a change_request record - change the Number to some higher number and the State?  Perhaps you have a Business Rule or Data Policy that is preventing this update when these two fields specifically, or number and any other field, or state and any other field are in the same update.