Service portal - UI Policy not hiding Section with g_form.setSectionDisplay methodDescriptionIn Service portal, you cannot hide sections using UI Policy scripts.Steps to Reproduce Navigate to any OOB London Instance. 2. Go to incident.config3. Create new UI PolicyName - Hide Sections when State is not Cancelled or ClosedCondition - Incident State is one of "New, InProgress, Resolved"Run Scripts - True Execute if True - g_form.setSectionDisplay('related_records', false);Run scripts in UI type - All Navigate to https://INSTANCE-URL.service-now.com/sp?id=form&sys_id=173f6fcfdb83ab00e40cf2353a961930&table=incidentExpected - Section - "Related records" is hidden. Actual - Section - "Related records" is not hidden. Note: - UI Policy works in Native UI https://INSTANCE-URL.service-now.com/nav_to.do?uri=incident.do?sys_id=173f6fcfdb83ab00e40cf2353a961930WorkaroundThis problem is fixed in Madrid release. Related Problem: PRB1323720