Service Catalog item with multiple assignment groups based on values in a particular field.

nomemon
Kilo Contributor

Hello

I have an existing Service Catalog item which end users can use to request access for specific applications.

This service catalog contains a field called 'Application Name' with 2 values.If either of these 2 Applications A, or Application B are selected, the request is to be routed to a 'TeamAB' for fulfillment.

 

However, now I am to add a new Application (Application C) to the same Service Catalog, which when selected, the request is to be routed to 'TeamC' for fulfillment.

 

Can someone please advise, how in the existing workflow that goes with this Service Catalog, i can accomplish this - so that the fulfillment task is routed to the correct Assignment Group based on the application selected in the Catalog?

 

Thanks

1 ACCEPTED SOLUTION

so it would look like this.. no need for a join since only one path will be taken...



find_real_file.png


View solution in original post

8 REPLIES 8

1.png


the switch activity works great on select boxes.. not so much on reference fields if you have more selections than are available on that form...



also switches don't update automatically as you change the choices... where it is easy to add a parallel if.. yes you can do it by right clicking and adding a condition but a bit of a pain.. so when planning for something i expect to expand in the future i uses if's and if the field is static i use a switch.



but it is personal preference.


yes ...it's a personal preference (I tend to use switch a lot even in script)



whatever does the job is fine in the end


nomemon
Kilo Contributor

Hello Doug -


I ended up putting multiple if statements, based on the Sys_id of the Application and of the Assignment groups within the Advanced script section of the Task inside the Workflow


This seems to have done the trick - and the tasks are routed to the corresponding assignment groups that i wanted.



Thanks for the tips!