- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi Community,
We have a Business Rule that creates incidents based on incoming alerts from an external monitoring tool. It includes a Wait Rule - when the wait completes, a scheduled workflow runs as the system user and executes a post processing script to populate fields on the incident.
The problem is - the HTML type field on the incident table fails to save when running as system user. String fields work fine.
createdTask.setValue('u_description', '<b>Test</b>'); // ā blank
createdTask.setValue('description', 'Test'); // ā
saves fineWhat we confirmed:
- Security debug shows
RC = trueforincident.u_description/writeā so ACLs are not blocking - Same code works fine when running as service account (without wait rule)
- Issue is specific to Zurich ā works fine on older versions
Is there a known platform change in Zurich that affects writing to HTML type fields when running assystemuser in a background context?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
yes it does apply to that user.
š” If my response helped, please mark it as correct ā and close the thread šā this helps future readers find the solution faster! š
Ankur
⨠Certified Technical Architect || ⨠10x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I believe something changed in Zurich check below links
š ServiceNow Zurich Release: Understanding Scripting Governance
ServiceNow Zurich changed what āadmin can edit anythingā means.
https://youtu.be/5C8y4tdzYHI?si=hr_tqzYISZuClPaX
š” If my response helped, please mark it as correct ā and close the thread šā this helps future readers find the solution faster! š
Ankur
⨠Certified Technical Architect || ⨠10x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Ankur Bawiskar
Thanks for your response.
Just to confirm - does the Scripting Governance restriction on HTML fields also apply to the system user? Given that system runs with the highest privilege and bypasses ACLs..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
yes it does apply to that user.
š” If my response helped, please mark it as correct ā and close the thread šā this helps future readers find the solution faster! š
Ankur
⨠Certified Technical Architect || ⨠10x ServiceNow MVP || ⨠ServiceNow Community Leader

