Create Multiple Catalog Tasks Based on RITM Quantity

ray evans
Tera Guru

Hi

 

I am creating multiple RITMs from MRVS rows in Flow Designer. How can I create a number of catalog tasks based on the quantity field in RITM?

 

Thanks

2 ACCEPTED SOLUTIONS

Hi,
PFA the update set for the array creation action.

 

Please commit and try with this action.

 

 


Thanks and Regards,

Saurabh Gupta

View solution in original post

Hi,
If you don't want to wait, please uncheck "wait for completion" flag within the catalog task action.

 

 

 


Thanks and Regards,

Saurabh Gupta

View solution in original post

24 REPLIES 24

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,
For running a loop in flow designer you need to have an iterable object like arrays.

You should create a custom action and output of that action should be an array, then you can apply the foreach.

 

 


Thanks and Regards,

Saurabh Gupta

Hi Saurabh

 

Could you please provide an example?

 

As with the consume asset tasks, which have a task for each asset within the RITM, I want to do the same for 'configure item task'

 

Thanks

 

Hi,
I have created custom action with input as integer, that will give an array of the same length;

 

SaurabhGupta_0-1672501175503.png

 

Then I am using this action for iteration in my example I am creating 10 incident with my flow.

 

SaurabhGupta_1-1672501233174.png

 

 

 

 


Thanks and Regards,

Saurabh Gupta

what exactly is this getting an array from? I need to check the quantity field in RITM