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

arielgritti
Mega Sage

Hello Cory

I think Flow Designer will help you to achieve your goal.

You can Trigger the flow from Service Catalog associated to the Item.

find_real_file.png

 

Then you can create a "logic" like this: "do the following until"

find_real_file.png

 

In the loop you can create the RITM's with this Action "Create Record"

find_real_file.png

 

And you can create Catalog Task in the RITM with this "Create Catalog Task on Request Item"

find_real_file.png

 

I hope this help you.

Please, mark my answer correct, useful or bookmark if I helped you
Thanks
Ariel

 

Looks awesome!  We are currently running Madrid, so this isn't an option right now unfortunately... thanks for the response! 

Ok Cory, understood.

We upgrade from London to Orlando a month ago and is a new "world" for us!

 

Thanks,

Ariel

But you have Flow Designer in Madrid, take a look to this doc: https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/administer/flow-designer/concept/...

 

Maybe don't have all the new Orlando features, did you explored that?

 

Ariel