Make variables read-only on the ritm and the catalog task after form submitssion

Cupcake
Mega Guru

I have an Onboarding form that I developed which has a ton of questions. The client would like to make ALL of the variables read-only after the form has been submitted which means they should be read only on the RITM and the catalog task with the exception of one of the variables.

I am not sure of the proper way to achieve this.

Any assistance that can be offered would be much appreciated.

Thank you,

Karen

1 ACCEPTED SOLUTION

ccajohnson
Kilo Sage

As a matter of practice, I typically create Catalog UI Policies that do certain things to only the form, the Requested Item, and the Task. Depending upon which variables should be visible on tasks will determine if those variables are visible or hidden as well as those variables you want read-only. Keep in mind that when you are spawning a task from a workflow, you can indicate which variables are visible on the task. This may reduce the number of variables to only those variables the person working the task need.


View solution in original post

8 REPLIES 8

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Karen,



You can create a Catalog UI policies to hide the variables. However please make sure you set the checkbox to true for only requested item and tasks so that it only applies at ritm and task level.


http://wiki.servicenow.com/index.php?title=Service_Catalog_UI_Policy#gsc.tab=0


Pradeep thank you this is the Correct Answser, I am going to create 1 giant UI policy that will include all of my variables except 1 that will be read-only on the RITM and Task only.



Karen


ccajohnson
Kilo Sage

As a matter of practice, I typically create Catalog UI Policies that do certain things to only the form, the Requested Item, and the Task. Depending upon which variables should be visible on tasks will determine if those variables are visible or hidden as well as those variables you want read-only. Keep in mind that when you are spawning a task from a workflow, you can indicate which variables are visible on the task. This may reduce the number of variables to only those variables the person working the task need.


So I am going to create 1 giant UI Policy specifying all of my variables and just set them to read-only at the RITM and Task level.



Thank you,


Karen