Ich habe beim ESRI UC Hilfe erhalten, um einen Power Automate-Workflow zu erstellen, der Felder innerhalb vorhandener Punkt- und Linien-Features automatisch aktualisieren soll, die mit den neu erstellten Polygon-Features schneiden. Ich habe damit herumprobiert und obwohl mein aktueller Flow angibt, dass er erfolgreich ausgeführt wird, überspringt er den Teil, in dem Punkt- und Linien-Features aktualisiert werden sollen. Ich bin neu in diesem Bereich und würde mich über Tipps oder Ratschläge freuen!<\/P>
<\/span><\/P>Im obigen Bild ist die linke Seite für die Aktualisierung von Linien und die rechte Seite für die Aktualisierung von Punkten. Ich habe getestet, ob der zusätzliche Abfrageschritt hilfreich ist oder nicht. Da weder Linien noch Punkte aktualisiert wurden, hat keine der Optionen funktioniert.<\/P><\/span><\/P> <\/P><\/span><\/P><\/span><\/P> <\/P><\/span><\/P> <\/P>Und hier sehe ich, dass das Aktualisieren von Punkten übersprungen wurde:<\/P><\/span><\/P> <\/P> <\/P> <\/P> <\/P>
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:
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!
@IngridHogle Looking at the flow you can and your comments Likely that the `Get data from feature layer` action is not returning any results. The geometry combined with the Where clause is probably the culprit.
You can open a run that was successful in Power automate and click on the action. On the left hand pane you should see Show Raw outputs (or inputs) this should show you the JSON output of your query.
From Show raw inputs you can copy the parameters and run the query directly on the REST Endpoint to see what is wrong with it and what fixes it. You can see ArcGIS REST API documentation for the Query endpoint here: Query (Feature Service/Layer) | ArcGIS REST APIs | Esri Developer for more details. the `Get data from feature layer uses this endpoint behind the scenes. Hope you find the issue and the solution. The flow logic looks good to me.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.