<?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: Power automate update geometry using Lat and Lon in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1650128#M66316</link>
    <description>&lt;P&gt;Here’s a minimal, working pattern (no Python needed):&lt;/P&gt;&lt;H2&gt;&lt;FONT size="4"&gt;Flow outline (text key or GlobalID)&lt;/FONT&gt;&lt;/H2&gt;&lt;P&gt;&lt;STRONG&gt;Trigger (pick one):&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;SQL Server / PostgreSQL row change&lt;/STRONG&gt; trigger (premium) — fires on update&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;or a &lt;STRONG&gt;Scheduled&lt;/STRONG&gt; flow that queries rows changed since last run (using a LastModified column)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Get changed row&lt;/STRONG&gt; (must include a &lt;STRONG&gt;unique key&lt;/STRONG&gt; and lat, lon).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Prefer a stable key (e.g., AssetID). Don’t use OBJECTID.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If you can store the feature’s &lt;STRONG&gt;GlobalID&lt;/STRONG&gt; in the DB, even better.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Online → Update a record in a feature layer&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Where clause&lt;/STRONG&gt; (string key):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;AssetID&lt;/SPAN&gt; = &lt;SPAN class=""&gt;'@{triggerOutputs()?['&lt;/SPAN&gt;body/AssetID&lt;SPAN class=""&gt;']}'&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;(If numeric: no quotes.)&lt;BR /&gt;Or, if you stored it:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;GlobalID&lt;/SPAN&gt; = &lt;SPAN class=""&gt;'@{triggerOutputs()?['&lt;/SPAN&gt;body/FeatureGlobalID&lt;SPAN class=""&gt;']}'&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Attributes&lt;/STRONG&gt;: map fields you want to update (e.g., Status, Notes, etc.)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Geometry&lt;/STRONG&gt; (point):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"x"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; @&lt;SPAN class=""&gt;{&lt;/SPAN&gt;triggerOutputs()?&lt;SPAN class=""&gt;[&lt;/SPAN&gt;'body/lon'&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"y"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; @&lt;SPAN class=""&gt;{&lt;/SPAN&gt;triggerOutputs()?&lt;SPAN class=""&gt;[&lt;/SPAN&gt;'body/lat'&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"spatialReference"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"wkid"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;4326&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;(If your layer is in Web Mercator 3857/102100, either send 4326 and let the service project, or pre-project before sending.)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;(Optional) Upsert logic&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If the update returns &lt;STRONG&gt;0 records affected&lt;/STRONG&gt;, call &lt;STRONG&gt;Create a record in a feature layer&lt;/STRONG&gt; with the same attributes + geometry (i.e., insert when missing).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;&lt;FONT size="4"&gt;Gotchas to avoid&lt;/FONT&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;OBJECTID is not stable&lt;/STRONG&gt; → don’t match on it. Use a real business key or store the &lt;STRONG&gt;GlobalID&lt;/STRONG&gt; back to your DB when you first create features.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Ensure lat/lon are not null; &lt;STRONG&gt;skip&lt;/STRONG&gt; the update if either is blank.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If many rows change at once, switch to &lt;STRONG&gt;Update records in a feature layer (batch)&lt;/STRONG&gt; and pass a WHERE like AssetID IN ('A1','A2',...), or loop with concurrency 1–5 to avoid throttling.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Keep the &lt;STRONG&gt;field names identical&lt;/STRONG&gt; between your DB and the feature layer (or map them carefully in Attributes).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;FONT size="4"&gt;Quick start field plan&lt;/FONT&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In your DB table: AssetID (unique), lat, lon, Status, LastModified&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the hosted feature layer: same fields + &lt;STRONG&gt;GlobalID&lt;/STRONG&gt; (enabled)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;(Optional) Store the feature’s GlobalID back to your DB on first insert to make future updates bulletproof.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you share your actual key/field names (and the layer’s WKID), I’ll give you the exact &lt;STRONG&gt;WHERE&lt;/STRONG&gt; line and the &lt;STRONG&gt;Geometry&lt;/STRONG&gt; JSON you can paste into the Power Automate action.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Sep 2025 16:51:05 GMT</pubDate>
    <dc:creator>VenkataKondepati</dc:creator>
    <dc:date>2025-09-12T16:51:05Z</dc:date>
    <item>
      <title>Power automate update geometry using Lat and Lon</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1650086#M66315</link>
      <description>&lt;P&gt;I Published a Hosted feature service&amp;nbsp; using query layer with Lat and Lons from non spatial database&amp;nbsp; on to the ArcGIS Online. I just wanted to create a Power Automate, if some thing changes in non spatial database like lat and long, it should update the feature layer without writing a new python script to update that hosted feature service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess, it is possible to update through arcgis online connector in Power automate. Could some one help us to solve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 15:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1650086#M66315</guid>
      <dc:creator>vijaybadugu</dc:creator>
      <dc:date>2025-09-12T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Power automate update geometry using Lat and Lon</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1650128#M66316</link>
      <description>&lt;P&gt;Here’s a minimal, working pattern (no Python needed):&lt;/P&gt;&lt;H2&gt;&lt;FONT size="4"&gt;Flow outline (text key or GlobalID)&lt;/FONT&gt;&lt;/H2&gt;&lt;P&gt;&lt;STRONG&gt;Trigger (pick one):&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;SQL Server / PostgreSQL row change&lt;/STRONG&gt; trigger (premium) — fires on update&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;or a &lt;STRONG&gt;Scheduled&lt;/STRONG&gt; flow that queries rows changed since last run (using a LastModified column)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Get changed row&lt;/STRONG&gt; (must include a &lt;STRONG&gt;unique key&lt;/STRONG&gt; and lat, lon).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Prefer a stable key (e.g., AssetID). Don’t use OBJECTID.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If you can store the feature’s &lt;STRONG&gt;GlobalID&lt;/STRONG&gt; in the DB, even better.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Online → Update a record in a feature layer&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Where clause&lt;/STRONG&gt; (string key):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;AssetID&lt;/SPAN&gt; = &lt;SPAN class=""&gt;'@{triggerOutputs()?['&lt;/SPAN&gt;body/AssetID&lt;SPAN class=""&gt;']}'&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;(If numeric: no quotes.)&lt;BR /&gt;Or, if you stored it:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;GlobalID&lt;/SPAN&gt; = &lt;SPAN class=""&gt;'@{triggerOutputs()?['&lt;/SPAN&gt;body/FeatureGlobalID&lt;SPAN class=""&gt;']}'&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Attributes&lt;/STRONG&gt;: map fields you want to update (e.g., Status, Notes, etc.)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Geometry&lt;/STRONG&gt; (point):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"x"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; @&lt;SPAN class=""&gt;{&lt;/SPAN&gt;triggerOutputs()?&lt;SPAN class=""&gt;[&lt;/SPAN&gt;'body/lon'&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"y"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; @&lt;SPAN class=""&gt;{&lt;/SPAN&gt;triggerOutputs()?&lt;SPAN class=""&gt;[&lt;/SPAN&gt;'body/lat'&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"spatialReference"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"wkid"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;4326&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;(If your layer is in Web Mercator 3857/102100, either send 4326 and let the service project, or pre-project before sending.)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;(Optional) Upsert logic&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If the update returns &lt;STRONG&gt;0 records affected&lt;/STRONG&gt;, call &lt;STRONG&gt;Create a record in a feature layer&lt;/STRONG&gt; with the same attributes + geometry (i.e., insert when missing).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;&lt;FONT size="4"&gt;Gotchas to avoid&lt;/FONT&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;OBJECTID is not stable&lt;/STRONG&gt; → don’t match on it. Use a real business key or store the &lt;STRONG&gt;GlobalID&lt;/STRONG&gt; back to your DB when you first create features.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Ensure lat/lon are not null; &lt;STRONG&gt;skip&lt;/STRONG&gt; the update if either is blank.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If many rows change at once, switch to &lt;STRONG&gt;Update records in a feature layer (batch)&lt;/STRONG&gt; and pass a WHERE like AssetID IN ('A1','A2',...), or loop with concurrency 1–5 to avoid throttling.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Keep the &lt;STRONG&gt;field names identical&lt;/STRONG&gt; between your DB and the feature layer (or map them carefully in Attributes).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;FONT size="4"&gt;Quick start field plan&lt;/FONT&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In your DB table: AssetID (unique), lat, lon, Status, LastModified&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the hosted feature layer: same fields + &lt;STRONG&gt;GlobalID&lt;/STRONG&gt; (enabled)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;(Optional) Store the feature’s GlobalID back to your DB on first insert to make future updates bulletproof.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you share your actual key/field names (and the layer’s WKID), I’ll give you the exact &lt;STRONG&gt;WHERE&lt;/STRONG&gt; line and the &lt;STRONG&gt;Geometry&lt;/STRONG&gt; JSON you can paste into the Power Automate action.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 16:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1650128#M66316</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2025-09-12T16:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Power automate update geometry using Lat and Lon</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1650255#M66323</link>
      <description>&lt;P&gt;Thanks . How do I update lat and Lon for a feature class in geodatabase ? Do we need to publish as feature layer to update ?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Sep 2025 01:31:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1650255#M66323</guid>
      <dc:creator>vijaybadugu</dc:creator>
      <dc:date>2025-09-14T01:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power automate update geometry using Lat and Lon</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1653733#M66452</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/386769"&gt;@vijaybadugu&lt;/a&gt;&amp;nbsp;- That's the easier option. PowerAutomate can update feature layers.&amp;nbsp;&lt;BR /&gt;I don't think there is any action within PowerAuotmate to update GDB directly unless you want to update the SQL DB directly. I would advise against the direct DB updates as they bypass the tracking and any attribute rules, etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 01:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-update-geometry-using-lat-and-lon/m-p/1653733#M66452</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2025-09-29T01:16:02Z</dc:date>
    </item>
  </channel>
</rss>

