Export DIXF Data for only selected legal Entities from logic apps - D365 FO

Anitha Eswaran 61 Reputation points MVP
2020-08-18T12:56:08.383+00:00

Hi all,

Hi ,

I have a requirement to export Data for only selected legal entities from logic apps.

As of now, I am exporting the data for one legal entity by passing it as a parameter in 'Export To Package'

18317-ddmrp.png

I am able to do export for one legal entity in the above approach. Now the requirement is to do the same for additional legal entities .

Any ideas ?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,197 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,636 Reputation points Microsoft Employee
    2020-08-18T13:23:48.677+00:00

    Looking into the Export APIs, there doesn't seem to be a batch-style API. Instead, in Logic Apps, you can use the foreach loop to call this action multiple times by looping over an array of legal entity IDs.

    Note that by default the foreach loop runs in parallel and depending on your use case, you could set it to run sequentially instead, especially if you are updating variables within the loop.

    Also, if you need to process each of these separately, you could pass an array of IDs and trigger multiple runs as mentioned in the docs.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.