How to get row count for multirow variable set in Flow Designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 08:54 AM
I have a catalog item for decommissioning servers and use a multirow variable set to hold the list of servers to decommission.
I'm converting my workflow to Flow, and in my Flow, I'm using a "For Each" to get the data from the MRVS and for each row in the MRVS, I'm doing a Look Up Record to the server CI to get the "friendly" name of the server, which is then put into a string variable to use at a later time.
In the workflow, I checked the count of the MRVS to determine whether or not to add a comma at the end of the string, but I can't figure out how to do that with Flow.
How can I get the number of rows in the MRVS in the For Each flow logic? Or another way to do the same thing?
Here's the code from the workflow: