When I click on Caller field from the Incident list, then open the User record in “Asset” view
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
When I click on the Caller field from the Incident list, the record should open in the "Asset" view instead of the "Default" view.
This behavior should apply only to the Incident table list view and not to any other tables.
I created a view rule, but it is currently being applied to all tables.
Labels:
- Labels:
-
Cost Management (ITSM)
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Please check below article
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0688977
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Abhishek Kathe ,,
To open the Caller record in the "Asset" view only from the Incident list (and not from other tables/view contexts), you need to configure your view rule with conditions that specifically target the Incident table and only the scenario where the Caller link is used in the Incident list.
View rules can be table-specific, but if not scoped with precise conditions, they may apply to related tables or in other UI contexts unintentionally
Articles and question related to this topic:
https://www.servicenow.com/community/developer-forum/does-a-view-rule-automatically-apply-to-child-t...
https://www.servicenow.com/docs/bundle/zurich-platform-user-interface/page/administer/navigation-and...
1. Configure Your View Rule for the Incident Table Only
In System UI > View Rules, ensure you select incident as the table.
Add a condition that differentiates the Incident list context.
For example, use a script advanced condition:
// Example: Only apply when opening from the Incident list view
gs.getCurrentTable() == 'incident' && gs.action == 'sysverb_open' && gs.getProperty('glide.ui.list_view') == 'true'
2.Use sysparm_view Parameter for Direct Control
3. Avoid Default View Rule Scope
4. Confirmation and Testing
5. User Preferences
You may find below thread helpful:
https://www.servicenow.com/community/developer-forum/does-a-view-rule-automatically-apply-to-child-t...
https://www.servicenow.com/community/developer-forum/how-to-open-a-form-in-a-specific-view-when-clic...
https://www.servicenow.com/docs/bundle/zurich-platform-user-interface/page/administer/navigation-and...
https://www.servicenow.com/community/developer-forum/how-to-open-a-form-in-a-specific-view-when-clic...
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0787325
