Troubelshooting a record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 03:25 AM
Hello,
When an end user fills out and submits a record producer or catalog item on the portal, various Flows, UI Policies, Client Scripts, Business Rules, and other backend processes are triggered and applied to the record to perform specific actions. My question is: Is there a way to view, check, or track which actions have been applied (with timestamps) to this record producer after submission? For example, is it possible to click a button and see that at 9:00 AM, UI Policy number 0X was applied, and then at 9:01 AM, Client Script number 00X was executed, etc.?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 03:30 AM
Hi @yasserbouat,
There is no unified way to check if particular script or policy was applied after submission. You can enable Activity stream to show updates of every field on the form at any time but it wont show why it happened.
You have to use different methods for different components.
You can use gs.log() for server side scripts and g_form.addInfoMessage() for client side scripts.
Regards,
Ehab Pilloor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 03:38 AM
Hi @yasserbouat
ServiceNow does not natively provide a single consolidated view or audit log of all scripts (UI Policies, Client Scripts, Business Rules, Flows, etc.) executed on a record producer or catalog item along with timestamps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 04:02 AM
no direct way but you will have to manually test this out and see which runs as per the config.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader