RITM Auto Assigned to different groups based on selection of Subcategories

Srinivasu2
Tera Contributor

Hi Community,

 

I have requirement to auto assign assignment group to RITM based on selection of subcategories in existing catalogue form.

Srinivasu2_0-1696406225749.png

This is the existing catalogue form and i need to add these subcategories and auto assign respective groups

 

Srinivasu2_1-1696406669187.png

 

this is existing  workflow flow, i need to modify based on selection of subcategories auto assigned respective groups

 

Please find the below details

Category : business application

Subcategories: we have existing subcategories already it is assigned to "Wella-SCM-L1-Triaging",

list of add new subcategories and respective groups 1 is  "Bazil- EUC", 2nd one is "Brazil- Non SAP"

 

Could you please suggest how can i modify existing workflow to achieve this requirement?

 

Thanks&Regards

Srinivasu Sagiraju

1 REPLY 1

Chandresh Tiwa2
Mega Guru

Hi,

 

In the catalog task activity where Business Application = Yes, you can write script in the advanced section for assignment group like below. Add all the required subcategories in the if conditions and add sys ids of assignment groups.

 

var subcat = current.variables.subcategory;
if(subcat.in(Brazil closeup,Brazil wella imagens,remaining subcategories))
{
task.assignment_group = 'sysid of Brazil-EUC group';
}
if(subcat.in(Brazil econet,Brazil e-auditor,remaining subcategories))
{
task.assignment_group = 'sysid of Brazil-non-SAP';
}

 

Please mark answer as helpful or correct if it helped.