I've been at this on & off for a few months now. Relevant info:
Below are screenshots showing the different flows:
Using 'body'
Created a parallel branch to test the trigger itself and this works as expected:
As we can see the trigger is firing as expected:
and the subsequent Teams channel message is sent.
But for the Fetch updates, changes, or deletions, the payload/body/output is always empty in all these versions:
What am I doing wrong??
Hi @ZacharyHart
below is a screenshot of my flow which is working just fine. It's very similar to your first flow you are showing, perhaps try a body/items in the apply to each2 step? I also use a Compose step to get all the detail info from item, then I can extract what ever info I need.
Hope this help.
@DominicRoberge2 Thanks for reaching out.
This is one of the more curious points for me as I recall seeing body/items in the past but it's not listed in the options now it seems:
Was the compose step something you found through experimentation? I've not seen any Esri example with that yet.
well, sometimes you have to look at the OUTPUT of the previous step to get what you are looking for
So you might have to create the expression yourself:
Yes, the compose was something I came up with trial and error and google search. Might not be the best way to do it, but it's working for me.
Lots of trial and error
hmm, that's interesting thanks. I'm just at a loss why sometimes you see body/items and other times just items. It's really hard to use other examples, even from Esri, because the interface always looks slightly different, or Power Automate tries to add in another 'for each' that isn't needed etc.
Case in point in this video, the presenter mentions that they are using Attachment ID (which is a dynamic option from a previous step in Power Automate), but the actual entry shown on the display they are presenting from in Power Automate doesn't say that at all. So confusing...
On top of that, there are several examples out there regarding working with attachments and they don't even use any of these Esri/ArcGIS actions, it's just HTML stuff generic to Power Automate.