- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2026 06:01 AM
How to populate parent incident creation date on 'detection field' in the incident form in the servicenow
I have tried below script on Business Rule but did not works for me. Please suggest achieve on this requirement.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2026 06:55 AM
Hi @ashok17
Try with getReference() method so that you can dot walk.
function onLoad() {
if (g_form.getValue('parent'))
{
var parent = g_form.getReference('parent', function(parent) {
g_form.setValue('u_detection_time', parent.sys_created_on);
});
}
}
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2026 08:33 AM
Hi @ashok17
If you've got your solution, Accept the solution and close this thread, please.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti