Hi all,
I'm new to MS Flow. This is probably my third time to build a flow.
Anyhoooo, I want this flow to update 5 fields (i.e. Invoice URL 1, Invoice URL 2 ... Invoice URL 5) on the contact form when an invoice (including an invoice URL) is created in D365 CE.
Here is what I built so far:
Full Flow
Invoice URL fields on Contact Form
When an invoice is created -> wait for 30s -> List 5 invoices (Sort by DueDate asc) which have the same ContactID as the new invoice created -> List this contact -> Update 5 URL fields on this contact, i.e. the URL from the first invoice goes to Invoice URL 1, the URL from the second goes to Invoice URL 2......
The above flow works fine without errors. However, I'm having trouble with identifying top 2d, top 3rd, top 4th and top 5th from the invoice list and populating each of them to the 5 URL fields.
Hopefully, I have explained myself.
Please share your thoughts.
Many thanks.