make filed vale editible and read only in task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 06:18 AM - edited ‎04-10-2024 06:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 06:21 AM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 06:22 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 06:25 AM
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.