<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PA Flow Intermittently Working: Condition Error in ArcGIS Connectors for Power Automate Questions</title>
    <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703127#M1317</link>
    <description>&lt;P&gt;Sorry for the confusion. Yes, "Compose" is exactly what I was talking about. All Compose does is allow you to dump content. You can put pretty much anything you want into it. It can be used in a bunch of different scenarios such as clearly displaying output, being used in an Apply to each were "Set Variable" would not work, etc.&lt;/P&gt;&lt;P&gt;In my case, I'd put my formula into the &lt;EM&gt;Compose&lt;/EM&gt;, then reference the &lt;EM&gt;Compose&lt;/EM&gt;'s &lt;EM&gt;Outputs&lt;/EM&gt; in the &lt;EM&gt;Condition&lt;/EM&gt;. This allows you to confirm that the value you expect to see was retrieved, and confirms that the Condition is in fact comparing values that make sense. Power Automate doesn't explicitly show you the Condition's inputs, just true or false.&lt;/P&gt;&lt;P&gt;For the other two (the Attributes), are you able to give some more detail? Like, the full address being used. Or ideally the JSON of whatever their source is?&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2026 15:26:19 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2026-05-20T15:26:19Z</dc:date>
    <item>
      <title>PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1701548#M1308</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I have a Flow that is supposed to copy geometry and attributes from an ArcGIS Online hosted feature class parent record&amp;nbsp;&lt;EM&gt;and&lt;/EM&gt; attributes from a related record to an Enterprise hosted feature class. It is triggered by changing an attribute in the related table. After the record is copied, I have added a step to the Flow to populate a field in the original related table as '1.' This is used in a condition to prevent duplicate copies if the original geometry or attributes are edited in the future.&lt;/P&gt;&lt;P&gt;The problem is sometimes the Flow works. Other times Power Automate says "Your flow ran successfully" but it doesn't actually finish; it gets to the Condition step and spins. In the Run results it shows that there is an error, but "The expression contains dynamic functions, variables or parameters that cannot be resolved in the debugger."&lt;/P&gt;&lt;P&gt;The Power Automate team suggested I try adding another condition to check if the returned array is not empty. However, I've tried several and it still doesn't work. See the attachment.&amp;nbsp;&amp;nbsp;The team is currently working on a release and can't get away to help and suggested I post here since I need immediate assistance.&lt;/P&gt;&lt;P&gt;The function I entered into the window is: empty(outputs('Fetch_updates,_changes,_or_deletions_from_feature_layer')?['body/items'])&lt;/P&gt;&lt;P&gt;Sometimes this function doesn't have an error associated with it (the screenshot shows an exclamation point, but some of my trials don't result in the exclamation point), but the others still do.&lt;/P&gt;&lt;P&gt;Any suggestions? This is really affecting my workflow and will affect it even more because my Tool will see increased use in the near future!&lt;BR /&gt;Annina&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2026 15:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1701548#M1308</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2026-05-14T15:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703118#M1315</link>
      <description>&lt;P&gt;This is your array:&amp;nbsp;&lt;SPAN&gt;outputs('Fetch_updates,_changes,_or_deletions_from_feature_layer')?['body/items']&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then use length: length(&lt;SPAN&gt;outputs('Fetch_updates,_changes,_or_deletions_from_feature_layer')?['body/items'])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you return 0, it's empty. If it returns &amp;gt;0, it has items.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Personally, for my sanity, I would toss everything used for the &lt;EM&gt;Condition&lt;/EM&gt; into &lt;EM&gt;Composes&lt;/EM&gt; just before the &lt;EM&gt;Condition&lt;/EM&gt; so their contents could be easily checked. Then, use those &lt;EM&gt;Composes&lt;/EM&gt; in the &lt;EM&gt;Condition&lt;/EM&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 15:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703118#M1315</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2026-05-20T15:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703123#M1316</link>
      <description>&lt;P&gt;Thanks for the input. I did try the length version prior to this, but I tried again just in case. That part seems to work, but the other conditions don't. See the screenshot.&lt;/P&gt;&lt;P&gt;I looked for the&amp;nbsp;&lt;EM&gt;Composes&amp;nbsp;&lt;/EM&gt;action, but all I could find was&amp;nbsp;&lt;EM&gt;Compose&lt;/EM&gt;, and I have no idea how to enter a condition into the inputs there. See the other screenshot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 15:17:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703123#M1316</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2026-05-20T15:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703127#M1317</link>
      <description>&lt;P&gt;Sorry for the confusion. Yes, "Compose" is exactly what I was talking about. All Compose does is allow you to dump content. You can put pretty much anything you want into it. It can be used in a bunch of different scenarios such as clearly displaying output, being used in an Apply to each were "Set Variable" would not work, etc.&lt;/P&gt;&lt;P&gt;In my case, I'd put my formula into the &lt;EM&gt;Compose&lt;/EM&gt;, then reference the &lt;EM&gt;Compose&lt;/EM&gt;'s &lt;EM&gt;Outputs&lt;/EM&gt; in the &lt;EM&gt;Condition&lt;/EM&gt;. This allows you to confirm that the value you expect to see was retrieved, and confirms that the Condition is in fact comparing values that make sense. Power Automate doesn't explicitly show you the Condition's inputs, just true or false.&lt;/P&gt;&lt;P&gt;For the other two (the Attributes), are you able to give some more detail? Like, the full address being used. Or ideally the JSON of whatever their source is?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 15:26:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703127#M1317</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2026-05-20T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703137#M1319</link>
      <description>&lt;P&gt;I put the two attributes in separate&amp;nbsp;&lt;EM&gt;Compose&lt;/EM&gt; actions and entered those as the inputs in the&amp;nbsp;&lt;EM&gt;Condition&lt;/EM&gt;. Still have the same issue. Then I thought I understood incorrectly, so I updated the&amp;nbsp;&lt;EM&gt;Compose&lt;/EM&gt; action to the length(output(....)), but that threw an error in the&amp;nbsp;&lt;EM&gt;Condition&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I'm referencing two separate attributes from the For each. I want to create a record in an Enterprise feature layer, but only when the conditions are met (first condition: Attributes/polytoHDP is changed to 'Yes' and if the Attributes/pacopied is not 1, meaning this action hasn't been done previously). I don't know if I can get the source JSON (how do I find this?) but can't share any data as this is being used with private information.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 15:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703137#M1319</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2026-05-20T15:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703462#M1325</link>
      <description>&lt;P&gt;It really depends on&amp;nbsp;&lt;EM&gt;how&lt;/EM&gt; you are getting your data. But most actions have an "Inputs" and "Outputs" section. The "Outputs" is what you would be looking for because those Outputs are what you use in your subsequent steps. Normally, there is a "Show raw outputs" button that makes this extra easy.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_4-1779376314158.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/152782i981336F8D6ECB309/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_4-1779376314158.png" alt="abureaux_4-1779376314158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example, in the flow I am currently building, I am using Esri's Enterprise "Get data from feature layer" action. If I view the outputs, I get this (note that I deleted everything out of "headers" as well as some personal information from the "created_user" fields):&lt;/P&gt;&lt;LI-CODE lang="c"&gt;{
    "statusCode": 200,
    "headers": {},
    "body": {
        "data": [
            {
                "attributes": {
                    "chem_gen_rpt_lcn": "Chemical storage room located within the north central portion of the building. ",
                    "created_user": "",
                    "chem_gen_man_n": null,
                    "chem_gen_spills_yn": "no",
                    "chem_gen_drain_y": null,
                    "parentrowid": "{}",
                    "globalid": "{}",
                    "chem_gen_drain_yn": "no",
                    "chem_gen_spills_y": null,
                    "chem_gen_rpt_name": "Chromic acid",
                    "last_edited_user": "",
                    "chem_gen_rpt_con": "good",
                    "chem_gen_man_yn": "yes",
                    "spill1b": 0,
                    "last_edited_date": 1779291698703,
                    "created_date": 1779291698703,
                    "objectid": 1
                }
            },
            {
                "attributes": {
                    "chem_gen_rpt_lcn": "Chemical storage room within north central portion of the Site Building. ",
                    "created_user": "",
                    "chem_gen_man_n": null,
                    "chem_gen_spills_yn": "no",
                    "chem_gen_drain_y": null,
                    "parentrowid": "{FF85B410-21C0-4926-931E-26E36D5BF867}",
                    "globalid": "{B3E401F1-C71F-4354-B715-0E9D37808D89}",
                    "chem_gen_drain_yn": "no",
                    "chem_gen_spills_y": null,
                    "chem_gen_rpt_name": "Nitric acid",
                    "last_edited_user": "",
                    "chem_gen_rpt_con": "good",
                    "chem_gen_man_yn": "yes",
                    "spill1b": 0,
                    "last_edited_date": 1779291698703,
                    "created_date": 1779291698703,
                    "objectid": 2
                }
            }
        ]
    }
}&lt;/LI-CODE&gt;&lt;P&gt;With this schema, I can now do two things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I can reliably build my compose action to pull out a specific piece of data. E.g., I want to use "spill1b" in a condition. I would build it as either &lt;SPAN&gt;&lt;STRONG&gt;body('Get data from feature layer')?['data']?[0]?['attributes']?['chem_gen_rpt_lcn']&lt;/STRONG&gt;&amp;nbsp;if I wanted the first item from the array,&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;item()?['attributes']?['spill1b']&lt;/STRONG&gt; if I was using a Filter array step to get all items where "spill1b" was equal to 1&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1779375752857.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/152779i16E9D5DBB78116C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1779375752857.png" alt="abureaux_2-1779375752857.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Check my outputs/schema to correct an error.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In your case, you are getting inconsistent results from your workflows. That points to the issue most likely being the wrong information being extracted, or the correct information being extracted but used incorrectly. Thus, putting your specific outputs into a Compose action will allow you to verify on the fly what went wrong. E.g., If you expect an attribute to be "Yes" but it is in fact "yes", that would be a problem.&lt;/P&gt;&lt;P&gt;Again, this is the workflow I am currently building. You can better see this logic in action:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_3-1779376012713.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/152781i4205668253C45417/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_3-1779376012713.png" alt="abureaux_3-1779376012713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;* Also, small disclaimer. I tend to not use the "New designer" personally. I have found that it has (or maybe had?) many bugs which have caused me many problems in the past. I also find the classic designer is considerably better at using available screen realisatate, and many of my flows can get quite long.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 15:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703462#M1325</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2026-05-21T15:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703546#M1326</link>
      <description>&lt;P&gt;What a great explanation--thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I go back and forth between the classic and new designers; some things are only visible in one or the other (or, more likely, I just haven't found the locations!).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the explanation on the JSON; I've seen the inputs and outputs but didn't know that was what you were referring to. For the flows that fail, I don't get any JSON telling me what record (and attributes) failed. Most of the time it's just referencing the layer ID and not much else.&lt;/P&gt;&lt;P&gt;I logged in to get you some examples of JSON from the&amp;nbsp;failed&amp;nbsp;&lt;EM&gt;Condition&lt;/EM&gt;, but the outputs are different than they were yesterday. So, I decided to trigger the flow from the end-user Tool rather than doing a test or re-submitting an old one. I did this twice: once for a flow that would meet the conditions and once for a flow that would fail the conditions. It seemed to have run correctly.&lt;/P&gt;&lt;P&gt;I'm going to keep an eye on this but I expect there's still something wrong, I just got lucky today. I'm wondering if I'm not extracting/using the data extracted correctly like you said, maybe with regards to the related table aspect. I will keep you posted.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 18:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1703546#M1326</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2026-05-21T18:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1706083#M1351</link>
      <description>&lt;P&gt;Alright&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/454586"&gt;@abureaux&lt;/a&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;This issue is intermittent. There are still errors in my Condition, and I can't figure out why. Here is my Compose input:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-06-03 143309.png" style="width: 265px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153389iF077091AA0F6EEBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-06-03 143309.png" alt="Screenshot 2026-06-03 143309.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And my Condition: (the Outputs is: outputs('Compose') )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2026-06-03 143524.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153390i2B388DE0DA57AAF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-06-03 143524.png" alt="Screenshot 2026-06-03 143524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I still get errors and the Flow says it's successful!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2026-06-03 143911.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153391i3418B41F4A442028/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-06-03 143911.png" alt="Screenshot 2026-06-03 143911.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything I can do? I have to go into each run, check if it actually was successful, and manually fix it if it didn't.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2026 19:42:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1706083#M1351</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2026-06-03T19:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1706282#M1366</link>
      <description>&lt;P&gt;Do you have a screenshot of the errors somewhere? Esri connections tend to "&lt;STRONG&gt;fail gracefully&lt;/STRONG&gt;". That is, they will fail, dump all the failure data into an "Error" table, then mark the execution as a "Success" because they "successfully failed". If you expend the Esri step though, you will see the "Error" table and get a better idea of&amp;nbsp;&lt;EM&gt;what&lt;/EM&gt; went wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From these screen shots, everything appears to be correct. The only change I'd personally make is put those other two attributes into their own "Compose" and then reference those Composes in the "Condition".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Minor notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can also use "Variables" instead of "Compose" in most cases. Variables have the added advantage of being easier to find in the popup content (they are always at the top of the list since you can add the "Initialize Variable" step at the top of your flow), and their name shows up on screen instead of just "Outputs".&lt;/LI&gt;&lt;LI&gt;You can rename your steps, so instead of "Compose" it could be "Compose - Fetch Updates Count". Makes things easier to read and find.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 04 Jun 2026 15:55:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1706282#M1366</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2026-06-04T15:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1706322#M1369</link>
      <description>&lt;P&gt;Thanks for the best practices suggestions! Implementing now.&lt;/P&gt;&lt;P&gt;I&amp;nbsp;&lt;EM&gt;think&lt;/EM&gt; I have narrowed down part of the problem. I don't think this accounts for all of the errors, but I made one modification at a time to see what the Flow behavior would be, and this is what happens:&lt;/P&gt;&lt;P&gt;The trigger is "When a record is updated in a feature layer," and this is looking at a related table. The next 2 actions look at the same related table: "Fetch updates, changes, or deletions from feature layer" and "Condition."&lt;BR /&gt;If the Condition action is true, I "Get data from feature layer" which is the parent feature layer of the related table. I use Advanced parameters to query the parent feature layer by the GlobalID field, that matches the parentrec value from the related table where the change was made. I need to do this because I need to copy the geometry and a couple of attributes&amp;nbsp;&lt;EM&gt;and &lt;/EM&gt;some attributes from the related table to a record in an Enterprise feature layer.&lt;/P&gt;&lt;P&gt;I say all this because the Flow is &lt;EM&gt;actually&lt;/EM&gt; successful when the change is made in the related table. However, the Flow also runs when a change is made in the parent record and&amp;nbsp;&lt;EM&gt;not &lt;/EM&gt;the related table. This is when I see the errors in the Condition action. Is this weird behavior? I would think that if a change was made in the parent record it wouldn't trigger since I reference the related record feature layer as the input parameter.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I also looked for the Error table but couldn't find one. The only thing I could see is the Code View for the Condition and it just listed everything that should happen, not the output code.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 17:25:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1706322#M1369</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2026-06-04T17:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1706572#M1381</link>
      <description>&lt;P&gt;This is some fantastic insight and explanation! I should be able to set up a little test to try and simulate what you have going on. And you're right, I wouldn't expect edits to the parent to affect the child table unless a change to the child table actually happened. I'll see if I can find some time today to give this a sho&lt;/P&gt;&lt;P&gt;That said, this does sound like a little backwards from what I would expect though. Your environment and specific workflow is likely different from what I am envisioning, but this would be my first instinct:&lt;/P&gt;&lt;P&gt;1) Watch parent layer for changes, and trigger flow accordingly (thought here being that the child/related table should never be updated without the parent).&lt;/P&gt;&lt;P&gt;2 - Option A) Use a value from the parent table in a condition (similar to what you have) to conditionally run &lt;EM&gt;Get data from feature layer&lt;/EM&gt;. If the condition is true, then this part should run as data should be there.&lt;/P&gt;&lt;P&gt;2 - Option B) Simply use a &lt;EM&gt;Get data from feature layer&lt;/EM&gt; action on its own (Option A is best, if possible, as it avoids unessesary calls to Portal). Next, use a compose with something like&amp;nbsp;&lt;STRONG&gt;length(outputs('Get_data_from_feature_layer')?['body/data'])&lt;/STRONG&gt;&lt;SPAN&gt; to check if any records were retrieved (value returned will be an integer), then use this output in a condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In both cases for &lt;EM&gt;Get data from feature layer&lt;/EM&gt;, you'd do something like &lt;EM&gt;Query by field = ParentRowID&lt;/EM&gt; (from the Child) with &lt;EM&gt;Search value = UniqueRowID&lt;/EM&gt; (from the Parent). You can also toss in a&amp;nbsp;&lt;EM&gt;Where&lt;/EM&gt; clause if needed. Example:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1780670965952.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153512i98D38BC0E7EA660D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1780670965952.png" alt="abureaux_0-1780670965952.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As I said, Esri connectors like to fail gracefully. So even if you go with Option B and no records are returned, this wouldn't fail (at least at this step).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 14:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1706572#M1381</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2026-06-05T14:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: PA Flow Intermittently Working: Condition Error</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1707240#M1419</link>
      <description>&lt;P&gt;I agree, it does seem backwards, but I think it has to be done that way because the attributes that the Condition uses to run are from the child table.&lt;BR /&gt;I tried creating another flow starting with listening to changes in the parent record (because I agree with your theory that a child record wouldn't be updated without the parent), but again, when I click on the run to see what happened, sometimes it shows as expected (look, though, at the ! still displayed next to the Condition result, even though it says "False"):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="No_Child_Flow_NoSpin_SameRun.png" style="width: 290px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153653iA91DAD000A1793CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="No_Child_Flow_NoSpin_SameRun.png" alt="No_Child_Flow_NoSpin_SameRun.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And other times it doesn't (I included what I think should be happening in the steps in this image):&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="No_Child_Flow_Spin.png" style="width: 291px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153654i994885141FA0FDB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="No_Child_Flow_Spin.png" alt="No_Child_Flow_Spin.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, like you've mentioned in the past, the New Designer can be weird, and the old view shows it correctly. So, I tried then making the change to the child record and the Flow didn't run. At all. Even the original Flow (that is looking at the same data) wasn't triggered.&lt;/P&gt;&lt;P&gt;I'm fit to be tied since I have to make the changes manually if the Flow doesn't run or runs incorrectly, but there's not an easy way to identify the changes!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2026 18:47:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/pa-flow-intermittently-working-condition-error/m-p/1707240#M1419</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2026-06-09T18:47:17Z</dc:date>
    </item>
  </channel>
</rss>

