I've created a simple flow that when an Item is Created in Sharepoint, it obtains the Tracking Number, posts it to an API through HTTP Post and then upon Success the HTTP Get action occurs and Parse JSON is my next step to get the results of the status of a package.
The output of the Parse Json is:
I tried another compose but can't see how to identify the variables.
Solved! Go to Solution.
I actually think I figured it was simpler than I assumed. If I use the first expression to get from my array which is the latest information it works perfectly.
Hi there! Can you post the output of the previous step, please? Basically, what does the JSON look like before it's parsed. I may have an idea.
Thanks!
-Ed-
The previous step before Parse Json 2 in the condition is just the HTTP Get which gets the Tracking Number and Carrier code from the prior steps:
Step before Parse Json 2:
Output from Previous Run History, hope that's what you meant:
The steps prior to that are when item is created in SharePoint and then the following:
The outputs from the Parse Json post to the HTTP API call and then the part that I need working is on the GET. I have recently tried using a condition after Parse Json 2 to Apply to Each and Filter by Array. It sort of works....I'm not sure if that is an ideal flow action
Thank you for your help!
Also if I was just able to get the first Date/status from the trackinginfo array that might work because that's the last "status update" retrieved.
I actually think I figured it was simpler than I assumed. If I use the first expression to get from my array which is the latest information it works perfectly.
Yep. I was just working on screenshots for that 🙂
Great Work!
-Ed-
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
39 | |
37 | |
37 | |
32 | |
28 |
User | Count |
---|---|
39 | |
37 | |
31 | |
28 | |
23 |