Looking to create 5 RITMs from one Catalog Item Request

Cory Hitchings
Giga Guru

Hi all, 

I am looking to create an 'Offboarding' type of Catalog Item, that when a requests comes through, it creates 5 different RITM's assigning to different assignment groups for each. With in those RITM's there will be multiple SCTASKs. Is this possible? 

1 RITM to the Service Desk, in this RITM, there should be 8 SCTASKs assigned to the Service Desk that has individual tasks to perform to ensure a person is offboarded properly. 

2 RITM sent to the Applications Team, in this RITM there will be approx 12 SCTASKs that are created to remove access to certain applications. 

and so on... 

Does anyone have an idea how I can achieve this? 

Thanks very much! 

 

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

If you haven't done so already, there's an option on the order guide to cascade variables, so you'll want to be sure that is checked, then create variables with the same names on each of the catalog items so that the data you capture from the requestor appears on each RITM.  On the workflow of each catalog item you can add a Run Script activity at the beginning.  The workflow is running on the sc_req_item (RITM) table, so to set the short description you would use something like

current.short_description = 'Termination - ' + current.variables.v_user.name;

Where v_user is the Name of the variable.  On the Create Task activities, you can leave the Short description field blank, then check the Advanced box and in the Advanced Script put something like

task.short_description = 'Termination - ' + current.variables.v_user.name + ' show them the door.';

Then be sure to select the variables at the bottom that you want to appear on this task.

View solution in original post

11 REPLIES 11

Geez man, you are awesome!  Can't thank you enough really, this worked incredibly well!  The only thing I can't get going is the Request's Short Description and the RITM, will need to keep working on that for sure.  Also do you know if there's a way to hide / skip the Choose Options step after entering the info on the first screen?  

find_real_file.png

Happy to help!  There is not a way that I have found to skip the Choose Options step.  Let me know if you need further help with the short description.