Flow Designer For Each Loop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2023 11:13 AM - edited 09-17-2023 11:16 AM
Hello,
I have created two flows. One is designed to retrieve values from an "additional assignee" list field on a problem form. In this flow, I have implemented a "for each" loop to extract values from the "additional assignee" field. Upon checking my logs, I've confirmed that all values are coming through as comma-separated values. This flow is functioning correctly, as it sends an email for each assignee.
On the other hand, I've implemented a similar approach in another flow, but this time, I'm working with a "list collector" field. The "list collector" field also contains comma-separated values, just like the "additional assignee" field. However, I'm encountering an error in this flow. I have attached a screenshot below for reference.
can anyone please provide guidance on why one flow is working correctly while the other one is encountering an error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2023 03:50 PM
Its an issue with list collector and Flow Designer, its not actually an array you'll have to convert it. You can find more info on how in this post: https://www.servicenow.com/community/developer-blog/using-list-collector-in-flow-designer-for-each-l...