Ich folge diesen Schritten innerhalb von Power Automate zu ArcGIS Online, um E-Mail-Benachrichtigungen für die Citizen Reporter Solution einzurichten, und stoße auf 2 Probleme.<\/P>
https:\/\/doc.arcgis.com\/en\/arcgis-solutions\/latest\/reference\/configure-citizen-problem-reporter.htm#:~:text=Send%20emails%20with%20Microsoft%20Power%20Automate<\/A><\/P>Wenn ich die Schritte genau wie beschrieben befolge, wird der flow abgeschlossen und eine E-Mail-Benachrichtigung gesendet. Allerdings muss ich je nach einem der Feldwerte zu unterschiedlichen E-Mails gehen. Wenn also das Feld Department = x ist, muss es an die x E-Mail gehen, wenn Department = y ist, muss es an die y E-Mail gehen und wenn Department = z ist, muss es an die z E-Mail gehen.<\/P>Ich habe versucht, mehrere Bedingungen in einem parallelen Zweig bei Schritt 37 der obigen Anweisungen hinzuzufügen, und es schlägt beim Apply to Each 1 fehl mit der Meldung, dass keine Eingabe vorhanden war. Dann habe ich einen Switch versucht und das gleiche Ergebnis erhalten.<\/P><\/span><\/P> <\/P>Wie kann ich die E-Mails basierend auf einem Attribut eines Feldes definieren?<\/P>Das zweite Problem, auf das ich stoße, ist, dass ich das Feature in den Daten hinzufüge und power automate nicht sofort auslöst, sondern erst nach etwa 10-15 Minuten. Ist das bei diesem Triggertyp normal? Ich bin Survey123 gewohnt, wo es ziemlich schnell auslöst.<\/P>
Wenn ich die Schritte genau wie beschrieben befolge, wird der flow abgeschlossen und eine E-Mail-Benachrichtigung gesendet. Allerdings muss ich je nach einem der Feldwerte zu unterschiedlichen E-Mails gehen. Wenn also das Feld Department = x ist, muss es an die x E-Mail gehen, wenn Department = y ist, muss es an die y E-Mail gehen und wenn Department = z ist, muss es an die z E-Mail gehen.<\/P>
Ich habe versucht, mehrere Bedingungen in einem parallelen Zweig bei Schritt 37 der obigen Anweisungen hinzuzufügen, und es schlägt beim Apply to Each 1 fehl mit der Meldung, dass keine Eingabe vorhanden war. Dann habe ich einen Switch versucht und das gleiche Ergebnis erhalten.<\/P>
<\/span><\/P> <\/P>Wie kann ich die E-Mails basierend auf einem Attribut eines Feldes definieren?<\/P>Das zweite Problem, auf das ich stoße, ist, dass ich das Feature in den Daten hinzufüge und power automate nicht sofort auslöst, sondern erst nach etwa 10-15 Minuten. Ist das bei diesem Triggertyp normal? Ich bin Survey123 gewohnt, wo es ziemlich schnell auslöst.<\/P>
@LindseyStone I have a very similar workflow and I'm using 'Condition' action, as well. Here is what it looks like for me. I have multiple conditions, and one of the conditions is Problem Type (which would be equivalent to your Department field).
I add the feature in the data, and power automate doesn't trigger for like 10-15 minutes
I hate any trigger that relies on "add something somewhere" (E.g., When a record is created). They seem to trigger at random times. Sometimes they are quick. Other times they are insanely slow. I have all my automations on a timer. Every 1-5 minutes (depending on flow), they check for changes in the feature Layer by looking at a helper field (e.g., defaults to FALSE, then I change it to TRUE when processed). Considerably more reliable.
@NataliyaLys @AkshayHarshe
I want to thank you for the screenshot Nataliya. I had my parallel after the apply to each, so I only had one of those instead of parallel branch each going each to an apply to each and then the condition.
So my status is now I got the flow working sometimes...Sometimes it works, sometimes it doesn't. Sometimes it triggers within a few minutes, sometimes the trigger takes 15 minutes, sometimes it never triggers, sometimes it triggers and says it is successful, but the fetch data doesn't have any field data so, it doesn't actually transfer data down to the condition statements so it technically doesn't complete.
I also did try to test all the conditions when a 15 minute period to see if they were correct, so maybe I overloaded the thing, which is why some of them never processed and they need a little spacing in between.
I did put a ticket into Support to see what other input they have.
@LindseyStone, Try if above works for you. For your question 2, unfortunately that is out of control of ArcGIS Connector. We use Server side webhooks and the flow will start only when the ArcGIS Online FL webhook triggers. We have seen it take longer time to trigger after making the changes. I believe this is under investigation by ArcGIS Online DevOps. "When survey response is submitted" trigger is the only one that is a client-side webhook and triggers almost instantly. You can use this trigger from ArcGIS Connector if that is a better solution and if it works for you.
PS. This should not be a problem for ArcGIS Enterprise Connector.
Did you try with 'Condition' action? I have flows similar to your and I use 'condition' action without any issues
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.