Retrieve List in List

0
Hello   I have below entities, where an invoice can have multiple InvoiceLines. I would like to retrieve, in a microflow, a list of Invoices, together with their corresponding InvoiceLines. How can i achieve that?  
asked
3 answers
0

Hello,

You just have to retrieve the invoices (via a retrieve action). This will give you a list. 

Then you have to loop through that list, and make a retrieve of the invoiceLines (via a retrieve by association action). 

 

answered
0

Hi Mohammad 

You can do this:

Or without using a DS:

What exactly would you like to do with the lists?

 

answered
1

Hello Yehoshoua Choukroun and Jérémie Degrave

 

Thank you for your replies. This is what i did exactly, the microflow, but was unable to put the full result in a list object (List into list). I need to export the data

Miraculously, I was able to do it without looping. The following worked

Export mapping

microflow 

The whole data is now in Variable_2

 

Thank you

answered