How do you create Multiple RITMS from a List Collector using Flow Designer

Diana27
Tera Guru

Hi,

Newbie here again.  I've searched the question of creating Multiple RITMS  from a List Collector, but the answers have always been using Workflow.  We are only able to use Flow Designer in our development.  Is there a way to do this in Flow Designer?  

The need is pretty straight forward.  Using a List Collector variable referencing a table to get the list.  Each item selected from the list will create a RITM.  If three items were selected using the List Collector there would be three RITMS for the Request each with it's own tasks as well.

I only have a PDI to work in since we are not live yet so I am also stuck with limited data to work with.

Thank you in advance,

Diana

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Diana 

Please find the below points:

1) The Get Catalog Variables action returns a list collector as a comma separated string rather than an array.

So you cannot use it as the array in a For Loop action.

Workaround: Create a custom action that uses a string as the input, parse the string into an array, then outputs the array to be used in the For Loop.

Refer below links for help on how to convert and then you can create RITM as per count of list collector values

Flow Designer

Flow Designer Foreach loop on Service Catalog List Collector variable type not identified as record ...

Regars
Ankur

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