- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-06-2018 08:30 AM
Hi,
I have a catalog item where users are able to request work to be complete by a specific team. This team is select in a variable looking at the sys_user_group.
What I am needing to do is get the workflow to assign the catalog task to the team selected in that variable.
Variable name group_assignment
I am new to scripting so assume I know nothing š
So looking at the image below the catalog task needs to be sent to the group that was selected in the variable above
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-06-2018 08:47 AM
You should be able to do this in a couple of different ways within your 'Catalog Task' workflow activity.
1) Populate task variables from 'Values' and set the 'Assignment group' field as shown in the screenshot below.
2) Check the 'Advanced' checkbox in the 'Script' section shown above and use the following code.
task.assignment_group = current.variables.group_assignment;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-06-2018 08:47 AM
You should be able to do this in a couple of different ways within your 'Catalog Task' workflow activity.
1) Populate task variables from 'Values' and set the 'Assignment group' field as shown in the screenshot below.
2) Check the 'Advanced' checkbox in the 'Script' section shown above and use the following code.
task.assignment_group = current.variables.group_assignment;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-06-2018 09:07 AM
THANK YOU!!!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-06-2018 09:19 AM
You're welcome! Best of luck getting the rest of this put in place. Workflows are a lot of fun!