Flow designer: how can I separate look up records into a list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 02:31 PM
Hello,
I am currently using a for each loop in flow designer to look up records and set a flow variable with the found records
The issue I'm facing is when I use this flow variable down the line, it populates the records without separating them:
Where I have covered is the start of a new record. Is there any way I can separate the records into a list or at least be separated by a comma? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 01:10 PM
First I am looking up all records on the hardware table for records assigned to user in trigger:
Next I am doing an iteration. For each record found, set the flow variable to the display name:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 01:39 PM
Hey,
Please look at my test flow from a catalog.
Input from catalog is a list collector from cmdb_ci.
Output on RITM.
Code of Flow variable
Please mark the answer as correct, If I answered your query. It will be helpful for others who are looking for similar questions.
Regards
Saurabh
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 01:48 PM
I tried changing my logic as per you.
Below is the output.
Please mark the answer as correct, If I answered your query. It will be helpful for others who are looking for similar questions.
Regards
Saurabh
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 01:56 PM
There might be some other issue I tried raising a catalog request that is also success.
Thanks and Regards,
Saurabh Gupta