- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2024 05:10 AM
Hi,
How do I get the Configuration Item and Email values from the incident table?
alert(g_form.getDisplayValue('cmdb_ci'));
alert(g_form.getValue('email'));
Regards
Suman P.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2024 05:22 AM
@Community Alums
try this
I assume the email field is a dot walked field from caller_id field
alert(g_form.getDisplayBox('cmdb_ci').value);
alert(g_form.getValue('caller_id.email'));
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
12-31-2024 05:22 AM
@Community Alums
try this
I assume the email field is a dot walked field from caller_id field
alert(g_form.getDisplayBox('cmdb_ci').value);
alert(g_form.getValue('caller_id.email'));
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
12-31-2024 05:23 AM - edited 12-31-2024 05:24 AM
You can use below code to see display value of reference field and also email value as follows
alert(g_form.getDisplayBox('cmdb_ci').value);
alert(g_form.getValue('caller_id.email');
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2024 09:29 AM
@Community Alums You can accept multiple answers, Please accept my answer as well.
Regards,
Musab