- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 11:22 PM
On filter condition builder, Is there a way i can extract a list of users who belongs to a specific group?
I want to extract a list of users from user based on their group and use it in the workflow if activity. I'm doing something like this below but no luck - I'm new to scripting.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 01:18 AM
There is a scriptable class "GlideUserGroup" that has a method "getMembers" but you will still need a script include to get users Names rather than sys_id's. So one way or the other, still via a script include is the easiest way. Plus a script include can be used in other cases as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 11:53 PM
Hi,
If I understand correctly, you need to find out if some task is opened by an user who belongs to specific group.
Correct me if I am wrong.
Best Regards,
Varad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 12:10 AM
Yes Varad, thats right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 01:08 AM
Hi Sergiu,
i was able to write script in If activity itself and its running fine - similar to what you mentioned above.
I was looking to see if there is any direct use like how we use "javascript:gs.getUserID()" in condition builder for ease of use