Ik kreeg hulp bij de ESRI UC om te beginnen met het bouwen van een Power Automate workflow die automatisch velden binnen bestaande punt- en lijnfeatures moet bijwerken die de nieuw gemaakte polygonfeatures kruisen. Ik heb ermee geëxperimenteerd en hoewel mijn huidige flow zegt dat deze succesvol wordt uitgevoerd, slaat hij het deel over waar hij punt- en lijnfeatures zou moeten bijwerken. Ik ben nieuw in dit alles en zou tips of advies op prijs stellen!<\/P>
<\/span><\/P>Op de bovenstaande afbeelding is de linkerkant bedoeld om lijnen bij te werken en de rechterkant om punten bij te werken. Ik testte of de extra query-stap nuttig was of niet. Aangezien noch lijnen noch punten werden bijgewerkt, werkte geen van beide opties.<\/P><\/span><\/P> <\/P><\/span><\/P><\/span><\/P> <\/P><\/span><\/P> <\/P>En hier zie ik dat het bijwerken van punten is overgeslagen:<\/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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.