Unable to hide 'Cause' section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 06:14 PM
Hi Team,
I'm trying to hide the cause section which is available on the incident overview page of the service operation workspace.
and I tried creating a UI policy on Global Scope app and Incident Management for SOW scope as well. But it doesnt seem to work, can any one point out what needs to be done to hide this section?
UI Policy:
Script:
function onCondition() {
g_form.setSectionDisplay('cause', false);
}
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 07:20 PM
the section is present in view "SOW-Incident-Overview"
So make sure you select that view in your UI policy
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
01-15-2025 02:36 PM
HI @Ankur Bawiskar Thanks for the reply.
So I checked my instance and configured the form layout, I could see the view being used is Service Operations Workspace (check below screenshot) and hence I had selected that view in the ui policy.
But I gave a try with the view name you mentioned but I can still see that field on the SOW.
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 07:17 PM
OOB in my instance the view is different
Are you sure that Cause section is in correct view in your instance and UI policy is on correct view?
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
01-19-2025 03:26 PM
@Ankur Bawiskar I checked my instance and OOB it is Service Operations Workspace. The UI policy is on correct view. Were you able to hide in your instance?
Johnny
Please mark this response as correct or helpful if it assisted you with your question.