
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2020 04:52 AM
Hi Everyone,
Is it possible to dotwalk from task table to change_request table.
Example:
I have a field called Parent Record which is referenced to task table so that i can select a record from Incident, Problem, Change and etc.
Problem is, when i try to do a filter on a change record. The fields from change record is not available in the list.
I believe you can only dotwalk from child to parent.
Is there a way to make that possible?
Thanks,
Tadz
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2020 06:32 AM
Hi,
please check this property -> glide.ui.list.allow_extended_fields
https://hi.service-now.com/kb_view.do?sysparm_article=KB0694158
https://sn.jace.pro/docs/properties/glide.ui.list.allow_extended_fields/
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2020 05:25 AM
Hi Tadz,
change_request extends task. You can access any record that extends task from task, There is a column Task Type (sys_class_name) that tells you the table where the full record resides. If you filter on that basis you should be able to get records from any table that extends task. Keep in mind that this may require filter criteria beyond simple.
Hope that helps.
:{)
Helpful and Correct tags are appreciated and help others to find information faster
:{)
Helpful and Correct tags are appreciated and help others to find information faster

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2020 05:39 AM
Hi John, yes but what I want to access change_request fields from task. And I can't seem to dotwalk from Task type to Change Request fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2020 06:20 AM
Hi Tadz,
If you're looking to have related lists attached to a record, you will need to have separate tabs for each type because going directly to task will only show the fields in that table. You can get tricky with list controls to only show tabs that are populated.
If you are looking to have a script get to the fields, you need to do something like this:
//assumes that you have the task record available in theTask
var fullRecord = new GlideRecord(theTask.sys_class_name);
fullRecord.get(theTask.sys_id);
From there you have full access to the incident, change, problem, etc. The bottom line is that while in the context of task, you can only access task level data.
If you will need to display different data based on the task type you are probably best creating the relevant client scripts that do AJAX calls to fetch the data. From there you can populate various fields as needed.
Hope that helps.
:{)
Helpful and Correct tags are appreciated and help others to find information faster
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2020 06:32 AM
Hi,
please check this property -> glide.ui.list.allow_extended_fields
https://hi.service-now.com/kb_view.do?sysparm_article=KB0694158
https://sn.jace.pro/docs/properties/glide.ui.list.allow_extended_fields/
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader