Scheduled Background Script – GlideRecordSecure() not updating Incident HTML Description field

NoorulHudaN
Tera Contributor

Hello!

I have a scheduled background script that updates the incident.description HTML field.
Now I've read about ServiceNow scripting governance tool and I have added the admin user and all required users the snc_required_script_writer_permission role.
but still the field doesn't update.
- My script uses GlideRecordSecure() for the update
- Field-level ACL on `incident.description` requires the `sn_incident_write` role - which has also been granted to admin user
Still doesn't work.

If I switch to the standard GlideRecord(), it updates correctly.
How to make my script work without stripping the "Secure"

1 ACCEPTED SOLUTION
17 REPLIES 17

bharanikumar20
Giga Guru

Hi, Refer to this blog, It might be related to your issue

 

https://www.servicenow.com/community/product-launch-forum/servicenow-australia-release/m-p/3518148

 

Regards,

Bharani Kumar.A

Thank you so much! yes I just tested and it works with Australia version

bharanikumar20
Giga Guru

Glad to hear that😀