I am not able to update the ready-only field

NAIDILE S
Tera Contributor

Hi,

I have a field called vendor rejection count (Read-only) on VIT, i want to update this field when the VIT is rejected by inbound call.
count is updating in log but not updating on the field.
I'm not sure where I'm goin wrong. Can anyone help me on that?

thanks,
Naidile

8 REPLIES 8

@NAIDILE S 

GlideRecordSecure will evaluate ACL and won't allow update if some ACL is blocking

You can try to use GlideRecord if you wish and it will allow to update.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@NAIDILE S 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Medi C
Giga Sage

Hi @NAIDILE S ,

GlideRecordSecure takes Access Control Lists (ACL) into account. Could you please check if the account used for updating the field has the appropriate write ACL?

Should my response be helpful, kindly mark it as correct and close the thread to facilitate future reference for others.


Best regards,
Medi


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

NAIDILE S
Tera Contributor

Thanks for the quick response, ill check on that and get back again