- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2022 06:31 AM - edited 12-31-2022 06:38 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2022 01:03 PM
Hi,
PFA the update set for the array creation action.
Please commit and try with this action.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2022 01:43 PM
Hi,
If you don't want to wait, please uncheck "wait for completion" flag within the catalog task action.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2022 07:13 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2022 07:29 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2022 07:40 AM
Hi,
I have created custom action with input as integer, that will give an array of the same length;
Then I am using this action for iteration in my example I am creating 10 incident with my flow.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2022 07:58 AM
what exactly is this getting an array from? I need to check the quantity field in RITM