How do you create Multiple RITMS from a List Collector using Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2020 09:17 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2020 01:59 AM
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
Regars
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader