Assign ticket to group based on catalog variable (reference field)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2022 11:19 AM
Hello community. I have a request to assign a ticket created by a catalog item based on a reference field inside the catalog that references the group table.
So basically, the user choses from a list a group and I need to be routerd to it.
I believe i have to script in an assignment rule, as this should work post (no client script)
Anyway, any help on this would really appreciate! Thankz!
- Labels:
-
Facilities Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2022 11:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 05:12 AM
But is it possible to store the value from a field in the catalog and then set it as assignment group via workflow? How do you do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 12:19 PM
Yes,
I think the best way to do it in workflow is using script activity.
add the follow script:
// here is current.variables.your_variable_name, my variable is group.
current.assignment_group = current.variables.group;
current.update();
My workflow to test:
Catalog item configuration:
Test:
If you have any questions let me know.