Unable to hide 'Cause' section

JohnnySnow
Kilo Sage

Hi Team,

 

I'm trying to hide the cause section which is available on the incident overview page of the service operation workspace.

JohnnySnow_0-1736907115005.png

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:

JohnnySnow_1-1736907232674.png

Script:

function onCondition() {
	g_form.setSectionDisplay('cause', false);
}

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.
11 REPLIES 11

@JohnnySnow 

yes I was able to hide it

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar what version of SOW are you on?

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

@JohnnySnow 

version 4.0.3

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I tried this but it isnt working.

jMarshal
Mega Sage
Mega Sage

@JohnnySnow - instead of using UI Policy, have you considered removing that section from the view itself.

jMarshal_0-1739292241029.png


https:// instance-name .service-now.com/now/nav/ui/classic/params/target/sys_ui_view.do%3Fsys_id%3D18c568e37381301045216238edf6a7b8%26sysparm_view%3D