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

Dhana3
Kilo Sage

Just a small doubt, so you'll be using the MRVS in a catalog item and then based on the data given in it you need to create additional RITMs right?

 

Hi @Dhana3 ,

 

Yes, Catalog has the MRVS that is input by User & based on the selections would like to create RITM

You can use for each to access each variable. I am not sure if you can get the count of the rows.

Ankur Bawiskar
Tera Patron
Tera Patron

@iDNS 

you can determine how many rows are there in MRVS using for each and then check the count

Then use IF logic to check the number of rows

what did you start with and where are you stuck?

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