hljs.configure({cssSelector: "code"}); hljs.highlightAll();

Wednesday, July 5, 2023

Export DMF Package Using logic apps

Export DMF Package Using logic apps

Step 1: Create a  Http request is received and Build the request body with parameters.

Definition Group Id and Package name  is Data Project Name.


Step 2: Create a new step and select Fin & Ops trigger as below image. After that select the environment and make the connection.

Step 3: Create a Until Trigger and within until trigger create Delay trigger and Fin and Ops Execute action trigger.

Fin & Ops DMF action is DataManagementDefinitionGroups-GetExecutionSummaryStatus.

In until Trigger write below expression.

@or(equals(body('Execute_action_3')?['value'], 'Succeeded'),equals(body('Execute_action_3')?['value'], 'PartiallySucceeded'),equals(body('Execute_action_3')?['value'], 'Failed')).

This step returns the execution Id.

Step 4: Create a fin & Ops execution action trigger and input for this step is Execution id from the previous step.

The DMF Action is 

DataManagementDefinitionGroups-GetExportedFileUrl which returns the file url that is exported in FO.

Step 5: Create a HTTP GET and Response triggers.

HTTP GET >> Input is File URL from Previous step and response is content of the file.



You can add additional triggers to save this file in Blob or SFTP.

Final Flow:



Keep Learning!!



No comments:

Post a Comment