How can I add a group to an assignment group for RITM and SCTASK created from a catalog request?

Newbie86
Kilo Contributor

Hello,

I am currently configuring a service catalog item that creates an approval and fulfillment task. When a request is submitted a request ticket is made. Lets say I get a request number like REQ0012568. Then from there I am able to navigate to the RITM. I need to assign the RITM to a certain group as well as the SCTASK that is created for the request. I am struggling to find matchable variables in assignment rules as well as the workflow does not seem to have an area where I can assign this. I have assigned the fulfillment group, but that does not populate the assignment group in the tickets. Any advice would be greatly appreciated.

Thanks

1 ACCEPTED SOLUTION

Mahesh23
Mega Sage

Hi,

You could easily do this with a workflow on the request item. Use the Set Values activity to set the assignment group to which ever group you like.

A business rule would work also. You should be able to do this with a scriptless business rule. Give it the right conditions and set the value there as well. Either route is fine.

View solution in original post

2 REPLIES 2

Mahesh23
Mega Sage

Hi,

You could easily do this with a workflow on the request item. Use the Set Values activity to set the assignment group to which ever group you like.

A business rule would work also. You should be able to do this with a scriptless business rule. Give it the right conditions and set the value there as well. Either route is fine.

suvro
Mega Sage
Mega Sage

You can set the assignment group of the RITM by using Set Values activity and you can set the assignment group of the SCTASK also in the catalog task activity. If the assignment group is fixed you can directly populate the values. If you are trying to set it via script then it should be like below.

 

For RITM 

Activity: Run Script 

Script: current.assignment_group = current.variables.<backend name of the variable>

 

For CSTASK

Activity : catalog task

check on advanced to get the script part

Script: task.assignment_group = current.variables.<backend name of the variable>

 

Please mark my response as correct if it resolved your issue