VIP flag in list view for a dot-walked field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
On the RITM table in list view, a VIP tag shows next to the name on the requested for field if the user is a VIP.
The sc_task table doesn't have a requested for field, so we need to dot walk the requested for field from the RITM table, but when we do so, the VIP flag no longer appears.
Is there any way to get the VIP flag to appear on the sc_task table, or to otherwise get a very clear and eye-catching indicator that a task is for a VIP in list view?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
that field on list on sc_task is dot walked from RITM field, so field styles won't work for dot walked field
This is OOTB platform behavior.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2m ago
Hi @Abbottronix
Field Styles (which control the VIP flags) do not render on dot-walked columns in a list view. They only trigger for fields that physically exist on the table you are viewing (sc_task).
Since you cannot put the flag on the dot-walked column, the standard "Best Practice" workaround is to apply the VIP styling to the Task Number or Priority field instead.
Note: You need to create a custom solution by creating the custom Requested For field to do this.
For Highlight the Task Number for VIP,
- Navigate to System UI > Field Styles.
- Click New.
- Fill in the form with these values:
|
Field |
Value |
|
Table |
Catalog Task [sc_task] |
|
Field name |
Number [number] |
|
Value |
javascript: current.request_item.requested_for.vip == true |
Style:
background-image: url('images/icons/vip.gif');
background-repeat: no-repeat;
background-position: 98% 50%;
padding-right: 20px;
color: red;
font-weight: bold;
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning
Thanks & Regards
Deepak Sharma
