make filed vale editible and read only in task

Gillerla Rajesh
Tera Contributor

i am generating theree tasks so here i need to make field as editable in 2nd task and in 3 rd task i need to make as readonly.

3 REPLIES 3

Meloper
Kilo Sage

Hi use a Ui Policy.
The Condition should be something which only available in Task 1.
Maybe you know it by order or created date?

If its is created maybe a client script with an ajax call shoul be the best solution.
Glide Record to all matchung Tasks order by created.

Or create an extra field which helps you to select the right Task. (not best practice)

Dr Atul G- LNG
Tera Patron
Tera Patron

HI @Gillerla Rajesh 

 

Then in UI policy you need to mention task description or other filed as parameter to make it editable in task 3.

*************************************************************************************************************
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]

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

Ayushi12
Mega Sage

Hi @Gillerla Rajesh 
You can write the UI Policy to make variables/fields readonly, you can define conditions according to specified condition actions applied.
Refer: https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/form-adminis...

Please mark this response as correct or helpful if it assisted you with your question.