michaelj_sherid
ServiceNow Employee
ServiceNow Employee

We often receive questions about how to hide fields on the case creation dialog of HR Agent Workspace. In HR Agent Workspace, case creation no longer uses the UI page for configuration. This article walks you through a simple use case so that you, too, can add hide fields on the case creation dialog in HR Agent Workspace. 

 

In this use case, we have a requirement to hide the ‘COE’ field on the case creation dialog in HR Agent Workspace when creating a new case. 

 

The configuration for this is present in UI Builder for Agent Workspace for HR Case Management and not from the Case Creation UI page. Here are the steps to make the modifications:  

 

Role Required: sn_hr_agent_ws.admin

  1. Make sure your scope is set to the Agent Workspace for HR Case Management application . 
michaelj_sherid_0-1670265486636.png

 

 

  1. Open Case Creation Page.

 

michaelj_sherid_1-1670265486642.png

 

 

  1. Expand Body (Flex) and click on COE to select it.

 

michaelj_sherid_2-1670265486647.png

 

 

  1. On the upper right corner of the UI Builder Page click on the ‘eye’ icon as shown below.

 

michaelj_sherid_3-1670265486648.png

 

 

  1. This action reveals the Hide component switch. Select it to make it green which indicates that the component will now be hidden from the dialog.

 

michaelj_sherid_4-1670265486650.png

 

 

  1. Click the ‘Save’ button, log off this instance, then log on again to see your modifications.

 

michaelj_sherid_5-1670265486656.png

 

 

Important: This modification does not impact the COE field getting populated since this field is populated by selection of the HR service. This configuration change can be undone at any time without impacting any data collected.

Comments
haripriya5
Tera Expert

it works 

Austin12
Tera Contributor

The only problem with this solution is that, if the user selects the wrong HR Service and needs to change it, it sets the COE field still and they remain restricted to only the HR Services under the COE field from the one they first selected and have no way to clear out the COE field to select a different set of HR Services.

Version history
Last update:
‎02-02-2023 10:21 AM
Updated by:
Contributors