catalog task

servicenow14710
Tera Expert

Hello developers, i have a requirement to make variable readonly on catalog task view once the task is closed complete,can i do this via workflow, if not  any suggestions is appreciated. Thanks!

10 REPLIES 10

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @servicenow14710 

 

What is purpose of variable after task closed?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

SarthakShri21
Tera Contributor

Hello @servicenow14710 

Can you please explain the requirement in detail. Like what kind of variable,  do you want to create? what are the specifications for it ? etc

Hello @SarthakShri21 : the requirement is clear once a catlog task is closed complete then a variable has to be shown on the task of type textfield. Let me know if any concerns in requirements. thanks!

Ok. So,

1) Create a variables for the respective catalog item, with respective type and name

2) Map the variable with any custom field

3) Create an Onload client script, apply conditions for state and item, and then display the field