<?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 Power Automate - cannot update attributes based on Intesect relationship in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/power-automate-cannot-update-attributes-based-on/m-p/1034338#M33038</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use Power Automate to make pulldata Javascript function work for offline collection by setting up an HTTP request.&lt;/P&gt;&lt;P&gt;In my survey, the x, y values of geo-point are passed to the js function that gets the attribute values of the overlapping polygon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For offline use, this is the url that I used&amp;nbsp;in the HTTP action to search the intersect polygon, and get its attributes. (x and y are from the survey, token is from another HTTP action requesting token).&lt;/P&gt;&lt;P&gt;&lt;A href="https://services1.arcgis.com/.../FeatureServer/0/query?f=json&amp;amp;geometry=" target="_blank" rel="noopener"&gt;https://services1.arcgis.com/.../FeatureServer/0/query?f=json&amp;amp;geometry=&lt;/A&gt;&lt;STRONG&gt;x,y&lt;/STRONG&gt;&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=4326&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;returnCount=1&amp;amp;token=&lt;STRONG&gt;token&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In Parse Json output, I see the results (overlapping polygon's attributes) that I expected,&lt;STRIKE&gt; but I eventually got the error message in the HTTP input to push the data to the feature layer&lt;/STRIKE&gt; but nothing happened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parse Json output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1615271386840.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7909i4E640517CDF9E1EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1615271386840.png" alt="KerryKang_0-1615271386840.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTTP Input. The values I want to get are empty, &lt;STRIKE&gt;and show 400 error message.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;==&amp;gt; I don't see the error anymore but the attributes are not updated although it says 'success'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1615272940657.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7911i6B0B15597FDDC1F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1615272940657.png" alt="KerryKang_0-1615272940657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;{"error":{"code":400,"message":"Cannot perform operation. Invalid operation parameters.","details":["'features' parameter is invalid","Invalid JSON primitive: ."]}}&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I just added email notification after Parse Json to check if I can get the values directly in the email body, and it seems empty.&lt;/P&gt;&lt;P&gt;Did I miss any steps after Parse Json? Maybe that's why I see nothing in HTTP input?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1615273957108.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7915iA64A570358022779/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1615273957108.png" alt="KerryKang_0-1615273957108.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;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;Is there any limitation in Power Automate to get the feature service query result in Json?&amp;nbsp; I used the almost the same approach in Integromat and it worked out.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 18:35:15 GMT</pubDate>
    <dc:creator>KerryKang</dc:creator>
    <dc:date>2021-03-09T18:35:15Z</dc:date>
    <item>
      <title>Power Automate - cannot update attributes based on Intesect relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/power-automate-cannot-update-attributes-based-on/m-p/1034338#M33038</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use Power Automate to make pulldata Javascript function work for offline collection by setting up an HTTP request.&lt;/P&gt;&lt;P&gt;In my survey, the x, y values of geo-point are passed to the js function that gets the attribute values of the overlapping polygon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For offline use, this is the url that I used&amp;nbsp;in the HTTP action to search the intersect polygon, and get its attributes. (x and y are from the survey, token is from another HTTP action requesting token).&lt;/P&gt;&lt;P&gt;&lt;A href="https://services1.arcgis.com/.../FeatureServer/0/query?f=json&amp;amp;geometry=" target="_blank" rel="noopener"&gt;https://services1.arcgis.com/.../FeatureServer/0/query?f=json&amp;amp;geometry=&lt;/A&gt;&lt;STRONG&gt;x,y&lt;/STRONG&gt;&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=4326&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;returnCount=1&amp;amp;token=&lt;STRONG&gt;token&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In Parse Json output, I see the results (overlapping polygon's attributes) that I expected,&lt;STRIKE&gt; but I eventually got the error message in the HTTP input to push the data to the feature layer&lt;/STRIKE&gt; but nothing happened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parse Json output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1615271386840.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7909i4E640517CDF9E1EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1615271386840.png" alt="KerryKang_0-1615271386840.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTTP Input. The values I want to get are empty, &lt;STRIKE&gt;and show 400 error message.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;==&amp;gt; I don't see the error anymore but the attributes are not updated although it says 'success'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1615272940657.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7911i6B0B15597FDDC1F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1615272940657.png" alt="KerryKang_0-1615272940657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;{"error":{"code":400,"message":"Cannot perform operation. Invalid operation parameters.","details":["'features' parameter is invalid","Invalid JSON primitive: ."]}}&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I just added email notification after Parse Json to check if I can get the values directly in the email body, and it seems empty.&lt;/P&gt;&lt;P&gt;Did I miss any steps after Parse Json? Maybe that's why I see nothing in HTTP input?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1615273957108.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7915iA64A570358022779/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1615273957108.png" alt="KerryKang_0-1615273957108.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;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;Is there any limitation in Power Automate to get the feature service query result in Json?&amp;nbsp; I used the almost the same approach in Integromat and it worked out.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 18:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/power-automate-cannot-update-attributes-based-on/m-p/1034338#M33038</guid>
      <dc:creator>KerryKang</dc:creator>
      <dc:date>2021-03-09T18:35:15Z</dc:date>
    </item>
  </channel>
</rss>

