Return a list of a REST call in a loop process

1
Hi guys, I need some help with the following:   I’m doing a REST call to an SAP tenant to get the failed messages of the last hour of a specific tenant. I want to show the response on a dashboard on a page, but i get the error that the microflow does not return a list. How can i resolve that? When i change the End event with an object or list, i’m not able to pick the $RestResponse because it is inside the loop. I’m hoping that someone has a suggestion? Thanks in advance!
asked
4 answers
1

You need to declare a List of IntegrationArtifact before your loop

after your restcall(in the loop) you do another loop, this time over the results of the restcall (RestResponse)

in this loop you add each iteratorRestResponse in the list you created before the loop.

then you can just right click the list before the loop and selct:

set $ListName as return value

answered
0

Screenshot 

answered
0

Thanks for your advice. Do you also know why my data grid shows no information? Did a missed a step in the microflow? The response handling of the REST is apply import mapping



answered
0

This is my microflow now:

answered