Servicenow realtime

In catalog item if we want to display the catalog only to specific users(itil user) you have to define a new user criteria and add role as itil user and add in available for related list

  1. if we want referenced by field read only and populate current logged in user as default value we can use gs.getUserID();

    1. List collector variable is used to select multiple referenced values from table where are reference variable is used to select single referenced value

    2. we can use select box and create choices on our own

    3. if we want a field to be visible when we select "add group to user" and make it mandatory write a ui policy to make the field mandatory and visible when selected

if we select "remove user group" then remove user group will be mandatory and visible

  1. when select the option then if we want to clear variable value we have to enable this checkbox

  1. if we select the reason option as other then "brief description" field should appear

we write a ui policy actions

now the reasons filed is empty so no field is visible

but when we select reasons as other then breif description field appears