I have a azure logic app designed at my end with some many connectors and loops and conditions like Sending email,SQL update and other set of things.
The flow gets executed properly as per my requirement and provides me the end result.
Now what i want is to get all the steps or actions performed in a particular logic app run to be retrieved at one shot along with status. Let me explain my query by taking a small example of logic app:
Let assume there is a logic app 5 steps with Name as TestLogicAPP and it has following actions or steps in it:
STEP 1: Flow is triggered when email is received : The connector used in OFfice365
STEP 2: After the flow is triggered first action is marking it as read: again connector used is Office365
STEP 3: Sending a reply to the sender: again connector used is Office365
STEP 4: Assume there is a attachment coming in email, and Storing attachment name in a variable by declaring a variable Using inbuilt variable deceleration
STEP 5: Storing this attachment received in email into Azure File storage or file share: Used azure file storage connector
All these steps are executed in logic apps perfectly without any errors when you the run history.
What i want is to list all these actions/steps at one go with its status like
STEP1 name : Successful STEP2 name : Successful STEP3 name : Failed along with failed reason or message(assuming 3rd is failed from above given example)
Or
STEP1 name : Successful STEP2 name : Successful STEP3 name : Successful STEP4 name : Successful STEP5 name : Successful
For this When i searched web i got a a rest API provided by Microsoft that gives these details:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions?api-version=2016-06-01
Above API Taken from below link: https://docs.microsoft.com/en-us/rest/api/logic/workflowrunactions/list#code-try-0
But when executed it is not listing all the actions in a given logic app run. To be specific it is not listing below connector related actions:
- Trigger action of logic app(office 365 connector)
- Sending email (office 365 connector)
- Uploading attachment file in email to Azure file share or file storage
Note sure why? Is it a bug in Microsoft Logic APP REST API or is it built to display or omit these type of steps or actions purposefully?
Or Is there any other way to get the desired result explained above?
Please help me regarding this issue or query.
Searched web and found the Logic app related rest API from below link as described above.
Expected Result: Get all actions or step results of a logic app run including the trigger action
Actual Result: Getting only few actions/steps result few are getting omitted from the rest api result.