Assign ticket to group based on catalog variable (reference field)

Julian12
Mega Guru

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!

3 REPLIES 3

Jim Jones
Giga Contributor

Hi Julian,

 

You can do it via Workflow flow designer or BR.

Via workflow, you use the set value box.

find_real_file.png

 

 

In Flow designer, use: update record

find_real_file.png

 

Or you can do it via Business rule, configured to execute on create

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?

Yes,

I think the best way to do it in workflow is using script activity.

 

find_real_file.png

 

add the follow script:

find_real_file.png

 

// here is current.variables.your_variable_name, my variable is group.

current.assignment_group = current.variables.group;
current.update();

 

 

 

My workflow to test:

find_real_file.png

 

 

Catalog item configuration:

find_real_file.png

 

Test:

find_real_file.png

 

If you have any questions let me know.