<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Looking to create 5 RITMs from one Catalog Item Request in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359736#M16662</link>
    <description>&lt;P&gt;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.&amp;nbsp; On the workflow of each catalog item you can add a Run Script activity at the beginning.&amp;nbsp; The workflow is running on the sc_req_item (RITM) table, so to set the short description you would use something like&lt;/P&gt;
&lt;PRE&gt;current.short_description = 'Termination - ' + current.variables.v_user.name;&lt;/PRE&gt;
&lt;P&gt;Where v_user is the Name of the variable.&amp;nbsp; 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&lt;/P&gt;
&lt;PRE&gt;task.short_description =&amp;nbsp;'Termination - ' + current.variables.v_user.name + ' show them the door.';&lt;/PRE&gt;
&lt;P&gt;Then be sure to select the variables at the bottom that you want to appear on this task.&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 21:54:39 GMT</pubDate>
    <dc:creator>Brad Bowman</dc:creator>
    <dc:date>2020-05-20T21:54:39Z</dc:date>
    <item>
      <title>Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359727#M16653</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and so on...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have an idea how I can achieve this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks very much!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 21:19:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359727#M16653</guid>
      <dc:creator>Cory Hitchings</dc:creator>
      <dc:date>2020-05-19T21:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359728#M16654</link>
      <description>&lt;P&gt;Hello Cory&lt;/P&gt;
&lt;P&gt;I think Flow Designer will help you to achieve your goal.&lt;/P&gt;
&lt;P&gt;You can Trigger the flow from Service Catalog associated to the Item.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/138000iBFBDC85B7A56B611/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can create&amp;nbsp;a "logic" like this: "do the following until"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/138002iA0326EAA7FD269D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the loop you can create the RITM's with this Action "Create Record"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/138004i5C736460CA602870/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you can create Catalog Task in the RITM with this "Create Catalog Task on Request Item"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/138012i927E6DF5E6C66394/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this help you.&lt;/P&gt;
&lt;P&gt;Please, mark my answer correct, useful or bookmark if I helped you&lt;BR /&gt;Thanks&lt;BR /&gt;Ariel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 21:47:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359728#M16654</guid>
      <dc:creator>arielgritti</dc:creator>
      <dc:date>2020-05-19T21:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359729#M16655</link>
      <description>&lt;P&gt;Looks awesome!&amp;nbsp; We are currently running Madrid, so this isn't an option right now unfortunately... thanks for the response!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 22:33:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359729#M16655</guid>
      <dc:creator>Cory Hitchings</dc:creator>
      <dc:date>2020-05-19T22:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359730#M16656</link>
      <description>&lt;P&gt;I have done this with a workflow script.&amp;nbsp; There's one method that creates RITMs under unique REQs, and another that can create all of the RITMs under the same REQ.&amp;nbsp; As far as the tasks, you would define those on the workflow for this catalog item, then you would have a variable or some way to identify which path each RITM should take.&amp;nbsp; I can dig up the script to get you started if you want to try it this way.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 22:59:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359730#M16656</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2020-05-19T22:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359731#M16657</link>
      <description>&lt;P&gt;I also need to point out that what you're describing is a good use case of an order guide, so I wanted to be sure you considered that before going down the scripting path.&amp;nbsp; If you're not familiar, an order guide can be a way to bundle items, so in this case you would create the 5 catalog items, each with their own workflows that can do whatever, but they're not exposed to the service catalog.&amp;nbsp; A user would submit a Offboarding order guide, which appears in the service catalog but will look a little different.&amp;nbsp; You collect whatever information is needed in variables, then there are a couple of confirmation/checkout screens, then when they submit the request the 5 catalog items are created, each as an RITM under one REQ.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 09:56:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359731#M16657</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2020-05-20T09:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359732#M16658</link>
      <description>&lt;P&gt;Ok Cory,&amp;nbsp;understood.&lt;/P&gt;
&lt;P&gt;We upgrade from London to Orlando a month ago and is a new "world" for us!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ariel&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 11:12:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359732#M16658</guid>
      <dc:creator>arielgritti</dc:creator>
      <dc:date>2020-05-20T11:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359733#M16659</link>
      <description>&lt;P&gt;But you have Flow Designer in Madrid, take a look to this doc:&amp;nbsp;&lt;A href="https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/administer/flow-designer/concept/flow-designer.html" rel="nofollow"&gt;https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/administer/flow-designer/concept/flow-designer.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe don't have all the new Orlando features, did you explored that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ariel&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 11:15:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359733#M16659</guid>
      <dc:creator>arielgritti</dc:creator>
      <dc:date>2020-05-20T11:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359734#M16660</link>
      <description>&lt;P&gt;Thanks very much for the response.&amp;nbsp; I was able to setup a Order Guide for this that kicks off the different catalog items - its incredibly close to what I am after.&amp;nbsp; I am wondering though, how would I ultimately change the Short Description of the Request, RITM and SCTASKs that are generated to show the name of the person that's being offboarded?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've set up 3 variables on the Order Guide, one being the offboarding users name.&amp;nbsp; I was hoping to have that variable cascade through each RITM and SCTASK somewhere in the Short Description of each, if possible.&amp;nbsp; Is this possible?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/138018i9EA23DBC9897A4EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see, it does kick off all RITMs and Tasks under one Request which is super awesome, just need to get the Short Descriptions to include the name of the "Person leaving" and End Date as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/138006i37286B53F97FF63D/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 21:28:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359734#M16660</guid>
      <dc:creator>Cory Hitchings</dc:creator>
      <dc:date>2020-05-20T21:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359735#M16661</link>
      <description>&lt;P&gt;Cory, on the order guide there is a tick box "cascade variables" so if you have that enabled and your variable has the same name it is available on RITM level. From here you can access it and play as you wish.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;- On order guide you have a variable user_name that is the user leaving company&lt;/P&gt;
&lt;P&gt;- On "Delete user from Active directory" catalog item you have the same variable&lt;/P&gt;
&lt;P&gt;- So they select the user_name on oder guide and it will be filled on any "child" RITM&lt;/P&gt;
&lt;P&gt;- in the RITM workflow just access it by querying current.variables.variable name, in this case current.variables.user_name&lt;/P&gt;
&lt;P&gt;- Then just set the short description in the workflow script (current.short_description = "Remove AD account of" + current.variables.user_name) or Task creation (task.short_description = "Remove AD account of" + current.variables.user_name)&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 21:53:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359735#M16661</guid>
      <dc:creator>Jan Cernocky</dc:creator>
      <dc:date>2020-05-20T21:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359736#M16662</link>
      <description>&lt;P&gt;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.&amp;nbsp; On the workflow of each catalog item you can add a Run Script activity at the beginning.&amp;nbsp; The workflow is running on the sc_req_item (RITM) table, so to set the short description you would use something like&lt;/P&gt;
&lt;PRE&gt;current.short_description = 'Termination - ' + current.variables.v_user.name;&lt;/PRE&gt;
&lt;P&gt;Where v_user is the Name of the variable.&amp;nbsp; 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&lt;/P&gt;
&lt;PRE&gt;task.short_description =&amp;nbsp;'Termination - ' + current.variables.v_user.name + ' show them the door.';&lt;/PRE&gt;
&lt;P&gt;Then be sure to select the variables at the bottom that you want to appear on this task.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 21:54:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359736#M16662</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2020-05-20T21:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359737#M16663</link>
      <description>&lt;P&gt;Geez man, you are awesome!&amp;nbsp; Can't thank you enough really, this worked incredibly well!&amp;nbsp; 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.&amp;nbsp;&amp;nbsp;Also do you know if there's a way to hide / skip the Choose Options step after entering the info on the first screen?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/138014iA1E0772E6B8F27D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 13:14:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359737#M16663</guid>
      <dc:creator>Cory Hitchings</dc:creator>
      <dc:date>2020-05-21T13:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to create 5 RITMs from one Catalog Item Request</title>
      <link>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359738#M16664</link>
      <description>&lt;P&gt;Happy to help!&amp;nbsp; There is not a way that I have found to skip the Choose Options step.&amp;nbsp; Let me know if you need further help with the short description.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 13:36:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/looking-to-create-5-ritms-from-one-catalog-item-request/m-p/1359738#M16664</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2020-05-21T13:36:49Z</dc:date>
    </item>
  </channel>
</rss>

