How do I search catalog workflow activities for a specific assignment group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2015 12:58 PM
My customer has ~300 workflows and would like to run a query to find out which workflows contain activities which have been assigned to a specific group.
I've seen ways posted to search for specific javascript. Any idea on how to query instead on the Assignment Group variable?
Thanks much!
-Joe

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2020 09:29 AM
Hi there,
Have a look at the sys_variable_value table. Simply look for Value contains <your_sys_id> of your group.
The record(s) returned, contain the ID field, which references the Workflow Activity the Values record is attached to. Opening the Workflow Activity wf_activity, would also give you the Workflow you are after [Field: Workflow version].
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2020 09:52 AM
Mark,
Thank you for the quick reply. I looked for [Field: Workflow version] but do not have that field when clicking into wf_activity. Is there a way to show the workflow names in the same list related to the wf activities that are brought back for the group?
Thank you,
Shane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 08:21 AM
Hi,
Do we have any query for it? I need to find all workflow for an assignment group. Can anyone help?
Thanks in advance!