Select to view content in your preferred language

How to update attributes of features within a newly created polygon?

203
2
Friday
IngridHogle
Frequent Contributor

I got help at the ESRI UC to start building a Power Automate workflow that is supposed to automatically update fields within existing point and line features that intersect the newly created polygon features. I've been fiddling with it and although my current flow says it is running successfully, when it gets to the part where it is supposed to update point and line features, it skips this part. I am new to all of this and would appreciate tips or advice!

IngridHogle_0-1757120123650.png

In the above image, the left side is to update lines and the right side is to update points. I was testing if the additional query step was helpful or not. Since neither lines nor points updated, neither option worked.

IngridHogle_2-1757120186184.png

 

IngridHogle_3-1757120284695.png

IngridHogle_5-1757120320508.png

 

IngridHogle_6-1757120353877.png

 

And here is where I see it has skipped updating any points:

IngridHogle_7-1757120522909.png

 

 

 

 

Tags (1)
0 Kudos
2 Replies
CalvinHarmin
Frequent Contributor

If I had to guess, the for each action is being provided an empty array [], so it is skipping the action since there are no items to iterate over. 

My suggestion is to look at the 'outputs' of one of your flow attempts:

  • Fetch updates action
    • Does the body of the outputs for this action actually contain a reference to a polygon feature?
    • If not, you'll need to diagnose that to understand how and when it actually pulls info of a new feature
    • If so...
  • Get data from feature layer
    • Does the output body have an array of 1 or more intersecting features?
0 Kudos
IngridHogle
Frequent Contributor

Thank you, @CalvinHarmin . Good suggestion. I added email notification to check what was happening with my Fetch updates action, and indeed it is not actually pulling info of new features. I'll report back if I make any progress!