- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2025 04:39 AM
Hi,
We have a requirement to trigger the user Approval through the workflow for the custom table inherited from the change_request table
The 'Business Owner' is the reference field configured in the groups table and in the change request the field is dot walked sting field and its read only. Here i have to trigger the Approval for the Business owner which is populated from the group table.
field in the group table:
field in the change form:
Any suggestion would be highly Appreciated!
Thank You.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2025 04:50 AM
simply use advanced script in "User or Group" Approval activity in workflow like this
answer = [];
// give the correct field names here
answer.push(current.groupField.businessOwnerField.toString());
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
05-09-2025 04:50 AM
simply use advanced script in "User or Group" Approval activity in workflow like this
answer = [];
// give the correct field names here
answer.push(current.groupField.businessOwnerField.toString());
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
05-09-2025 05:35 AM
Hi,
I have tried this and the Approval is getting skipped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2025 05:38 AM
share what script you are using?
check this
1) does that group have active group members, not locked out
Determining causes for skipped approvals (group or user)
also check this
Workflow Approval Group is skipped and approved?
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
05-09-2025 05:46 AM
Hi,
I did alter the condition and it worked for me.
Thanks!