- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 10:13 PM
Hi All,
we have below requirement.
we are using flow designer for multi level approvals.
we are using custom table which extends task table.
we have written UI policies for Readonly access.
Now, for one of the group approval the client is requesting editable access for some specified fields.
I am not understanding how to achieve this.
group : Staff Accountant
need to edit below fields like cost,library fee.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 10:25 PM
you need to use field level WRITE ACL and use script using advanced section
answer = gs.getUser().isMemberOf('Staff Accountant');
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 10:23 PM
Hi @sony8 To provide edit access for fields, ACL is the best way to go.
You can create 3 write level ACL for those 3 fields with below script:
Role: provide relevant role for users
Script:
if (gs.getUser().isMemberOf('GroupName')) {
answer = true; // allow edit to field
} else {
answer = false; // lock the field
}
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 10:25 PM
you need to use field level WRITE ACL and use script using advanced section
answer = gs.getUser().isMemberOf('Staff Accountant');
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader