- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2023 12:29 PM
I'm using flow designer to trigger after my catalog item is submitted, my first action is getting the catalog variables from the form which is a MRVS set so it's an array of objects. Then I'm using the For Each flow logic so I can access the data pills in each object and calling custom actions that will do specific things to the variables. Lastly I created a REST step using IntegrationHub that will send a POST request with the request body containing the output data pills from the last action in the for each loop. The problem is that I need the REST action to be after the loop but I can't access the data pills from the last action because they are in the for each branch. If I put the REST action in the loop, I can access the data pills but it's just gonna send a post request for each row in the form. I've tried using flow variables after the actions in the loop and then using the flow variables in the REST step but I only get the data from the last row.
Any help is much appreciated!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2023 06:31 AM
Thank you for your responses Michael, I ended up figuring it out. I scripted my own loop instead of using the For Each flow logic and that worked since now there's just one main branch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2023 01:24 PM
can you see my reply?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2023 01:51 PM
for some reason my replies are not posting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2023 02:50 PM
Can you try using script to fetch the values or custom action to fetch the MRVS values? some screenshots would also help.
Johnny
Please mark this response as correct or helpful if it assisted you with your question.