Update Issue record due date to linked policy exception due date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 03:43 AM
Hello,
I have a requirement to auto update Issue record (sn_grc_issue) due date value to linked Policy exception record due date field (sn_compliance_policy_exception).
Can you help to fulfill this requirement.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 04:03 AM
when should it be copied?
Should it be copied when Policy exception record is created?
If yes then you can simply use this
current.due_date = current.issueField.due_date; // give the correct due date fields from both tables and the issue field which refers issue table
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 04:13 AM
Thanks for the reply. Yes when policy exception created from issue date should be updated. can you provide more details where i need to use suggested code,
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 04:25 AM
before insert business rule on policy exception
I hope you will change the fields accordingly in the script I shared
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