
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2020 12:04 AM
Hi,
I am new in flow designer i have one requirment created the maintain item that containing a variable location, of type list collector .if user selected the three location ,so three catalog task should be created if four so four task should be created means dynamic flow . so please help me.how it can be possible in flow designer.
Solved! Go to Solution.
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2020 12:38 AM
First screenshot is from the custom Flow Action you have to build (takes a string and returns an array).
2. Call your custom action "String to Array" with the location variable as string input (unfortunately it didn´t rename it in my flow)
3. Do a for-each on the result from the action (array of sys_ids)
3.1 Do a GlideRecord Lookup for the Location based on the for-each value (sys_id)
3.2 Create the Catalog Task as you want.
If you are not familiar with Flows and Actions, please have a look at the documentation: https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/flow-designer/concept...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2020 03:21 AM
Hi can you tell me which type of variable you have taken for input variable & output variable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2020 09:52 AM
Hi
Variable Inputs should be a string and you pass a list to that sting?
Variable Outputs should be Array.string?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2021 01:13 PM
Hi
Action input - String
Script step input - not defined (drop pill from input Variables)
Script step output - Array.String
Action output - Array.String (define and drop pill from script step output)
Please see images of outputs. Any "input" to what I am doing wrong would be great
Thanks, Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2025 12:48 AM - edited ‎02-16-2025 12:51 AM
Hi @Samyak Jain2,
Instead of using a List Collector, you could try using an MRV (Multi-Row Variable) set. It will be easier to create multiple tasks based on location.
Please mark it as helpful if you found this useful.