The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Mandatory Asterisk on Variable Label not appearing in Service Portal

cpuente
ServiceNow Employee
ServiceNow Employee

I need to make the mandatory indicator appear on a variable label in service catalog.   I have already tried a UI policy action, catalog client script, and enabling the mandatory setting on the variable itself.   A catalog client script is the only way I am able to get the indicator to appear in service catalog but it does not appear in service portal.   Has anyone else had this issue?

Client Script:

function onLoad() {

g_form.setMandatory('variables.please_select_test_environment',true);

}

Service Catalog Item:

find_real_file.png

Service Portal:

find_real_file.png

5 REPLIES 5

Deepak Kumar5
Kilo Sage

If you are in Jakarta.


Make Any one Checkbox Mandatory from the list of all checkboxes. It will make Label mandatory and you can select any checkbox to submit request.


Sorry, no.   Istanbul, Patch 8


It is applicable for Istanbul as well.


Thanks for the tip but making one of the check boxes mandatory will only display the mandatory asterisk on the backend catalog item but not in service portal.



Service Catalog


find_real_file.png



Service Portal


find_real_file.png