Recebi ajuda na ESRI UC para começar a construir um fluxo de trabalho no Power Automate que supostamente atualiza automaticamente campos dentro de feições de pontos e linhas existentes que intersectam as feições de polígonos recém-criadas. Tenho mexido nisso e, embora meu fluxo atual diga que está sendo executado com sucesso, quando chega na parte em que deveria atualizar as feições de pontos e linhas, ele pula essa parte. Sou novo nisso tudo e agradeceria dicas ou conselhos!<\/P>
<\/span><\/P>Na imagem acima, o lado esquerdo é para atualizar linhas e o lado direito é para atualizar pontos. Eu estava testando se a etapa adicional de consulta era útil ou não. Como nem linhas nem pontos foram atualizados, nenhuma das opções funcionou.<\/P><\/span><\/P> <\/P><\/span><\/P><\/span><\/P> <\/P><\/span><\/P> <\/P>E aqui é onde vejo que ele pulou a atualização de quaisquer pontos:<\/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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.