07-11-2023 08:31 PM
Hi,
I have gotten a large JSON response from a webservice using the http action,
This has nested data in arrays, which are represented by the schema.
I am able to creatre a repeat action, with a for each on the element that looks like :
FOR EACH item in #{_('data.rest.bbf31283.response.data.total-product-pricing')} do
However, in the next step whilst it iterates for each item in this array, it doesn't add to the receipt data, and I can't seem to reference the for each step in order to create a list containing the items to use in futher steps.
What I am trying to do is create a list of items, that can be used in a slack / teams message later on.
07-12-2023 11:33 AM
Hi,
you can call functional recipe for each iteration or you need to use log inside for each. Thats the only way you can see data in and out.
Thanks,
Amar.
08-20-2023 07:51 PM
Hello @kyledlear !
This is Marlon from the support team.
You might encounter an issue, especially if the list/array you use is three or more levels from an existing list/object.
A workaround is to highlight the list from the data tree and then, drag and drop it on the repeat action.