- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 04:16 AM
Good afternoon.
Why is my Workflow script not triggering approval to various groups? Approvals are getting skipped. Please check my code below:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 04:53 AM
What are you seeing in the logs? Are the values you are pushing to the answer variable in each if statement confirmed to be sys_ids from the sys_user_group table? Have you tested with various im_emea_group selections? Do the groups you are testing with have at least one active user? Are you using the Approval - Group activity as opposed to Approval - User?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 04:53 AM
What are you seeing in the logs? Are the values you are pushing to the answer variable in each if statement confirmed to be sys_ids from the sys_user_group table? Have you tested with various im_emea_group selections? Do the groups you are testing with have at least one active user? Are you using the Approval - Group activity as opposed to Approval - User?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 05:33 AM
Oh, @Brad Bowman . Correct.
Code was working correct, but there were no users in those groups. 😂🤣
I spent 2-3 hours figuring this out and found it with your help.
Thank you so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 09:44 AM
You are welcome. I have done the same. It would be nice if the 'skipped' message indicated why.