How to set field Readonly in Workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2020 06:28 PM
How to set field Readonly in Workflow?
ex) If I Approvaled,someone can't change approval field.
- Labels:
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2020 06:45 PM
you cant use workflow to make field read only.You can create UI script if xyz field is xxx then make field ready only. you can set xyz field value in workflow with xxx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2020 09:40 PM
Hey SS,
Refer the Link it might help you:
Kindly Mark Correct if this solves your issue and also mark Helpful if you find my response worthy!
Best Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2020 10:11 PM
Hi,
can you explain your requirement? you cannot set a field to read-only from workflow; readonly can be set from client script, ui policy or from dictionary level
you can have a ui policy on the table with condition as state is approved; create UI policy action which sets that field as readonly
Regards
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
02-22-2022 06:12 AM
Hi Ankur,
I have a requirement that if a user doesn't fill up a form after 3 reminders of email that form should block. There is one If condition also to check between the current date and start date where start date is being fetched from the main flow and this form blocking has to be done in the subflow.
Can you please help me with how can form be blocked in this case? Since we can't make the fields ReadOnly in workflow then what will be the best practise here?
Thanks in Advance!