Create multiple RITM based on data in MRVS using Flow Designer

iDNS
Tera Expert

Hi, has anyone worked on creating multiple RITMs based on data from MRVS using Flow Designer & not via WorkflowI have tried to create record & also Submit Catalog which haven't been quite fruitful as expected. The ask is as below. Thanks in advance 

  • Check the # of rows in the MRVS
    • If 1 record
      • Do nothing & process with the Flow
    • If more than 1 record
      • Create a RITM for each of the rows in MRVS  under the same REQ
      • Close the first RITM
12 REPLIES 12

@iDNS 

something like this, please enhance

But remember for point 2 it will create fresh RITM and REQ and the newly created RITM won't be under same earlier REQ. If you wish to do then you will have to update the newly Created RITMs with the earlier REQ (S

submit new ritm.gif

I hope I provided enough information and guidance and you can easily enhance it as per your requirements with your developer skills

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks Ankur, this is where I was headed but Submit Catalog Item Request or Create Requested Item Record creates a new REQ & RITM which in turn sends notifications to Users causing confusion. I was inching towards creating a Custom Action that can take the data & create RITM under the same REQ but was lost. 

 

Would you be able to point me in any direction that can create the RITM. Thanks

@iDNS 

I already informed the same above in my earlier post that it's an OOB behavior and it will create new REQ each time.

Also I provided workaround to update the REQ on newly created RITMs

I won't suggest to create GlideRecord into RITM table as it's a request which has to be submitted.

You can ensure the OOB notifications don't trigger for newly created RITMs

Which notifications are you talking about?

OOB notifications are sent only when approval is asked for

I believe I have provided enough answer to your question and you can take it from here based on your developer skills.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@iDNS 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@iDNS 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader