Variables Visibility in Service Catalog

redth
Giga Expert

Let me provide a scenario for this requirement.

There's a field called 'Conditioner'(select box) with question choices as 'Yes' and 'No'.

When the user selects 'yes', variables will be displayed accordingly and when 'no' is selected, another set of variables will be displayed.

For example When 'no' is selected, there's a field called 'Is it a Incident?' with choices as 'Yes' and 'No' and the user selected 'yes' which displays another variable 'Incident Number'.

When the user again selects 'yes'(conditioner select box) without submitting the form, the 'incident number' field is being displayed which should be displayed only when 'no'(conditioner select box)is selected. The form is not being loaded automatically when the user selects another variables. I have created all these conditions using catalog UI policies.

Please inform me how to get solution for this

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Akshitha,



You have to check onLoad field to true in the UI policy you have created. If the field is not visible on the form then you have to personalize the form layout to get it on the form.


Sample.


Screen Shot 2016-07-05 at 4.58.56 PM.png


View solution in original post

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Akshitha,



You have to check onLoad field to true in the UI policy you have created. If the field is not visible on the form then you have to personalize the form layout to get it on the form.


Sample.


Screen Shot 2016-07-05 at 4.58.56 PM.png


Hi Akshitha,



Is the issue resolved now?


Hi Pradeep,



I have added a filter condition in UI policy along with checking onload to true