How can we make it as a task fields in read-only for particular task

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2018 05:13 AM
Hi EveryOne,
We have a requirement i.e., we have a workflow and it is attached to catalog item .By the happy flow it's creating tasks based on our requirement. But we want to make it as a fields into read-only when the task is created and it is for particular task only.
And next task creation all fields are editable. How can we do this by using catalog task advanced script .Can anyone help me out this query.
Regards,
Rakesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2018 05:19 AM
Hi Rakhesh,
So which fields you want to make readonly?
Is that field on sc_task table field or some variables on catalog?
you can have onLoad client script to make fields/variables readonly based on task description.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2018 05:49 AM
Hi bawiskar,
Thanks for your reply.
Task fields are make readonly. These fields are in the sc_task table.
Actually it's a second task but in first task these fields are mandatory .I tried to write ui policy using task description still no luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2018 01:35 AM
Hi Rakhesh,
Any update on this?
Can you mark my answer as correct, helpful and hit like if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader