<?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 Return related records via Extract Changes (feature service) in Power Automate in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/return-related-records-via-extract-changes-feature/m-p/1119270#M2006</link>
    <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cross-posting from ArcGIS REST API question board...see original version &lt;A href="https://community.esri.com/t5/arcgis-rest-api-questions/return-related-records-via-extract-changes-feature/m-p/1119214" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I am using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/field-maps/field-mobility/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate/" target="_self" rel="nofollow noopener noreferrer"&gt;this blog&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/277233" target="_blank" rel="noopener"&gt;@AaronPulver&lt;/A&gt;&amp;nbsp;to create webhooks in Power Automate for a Field Maps workflow. Currently, I am attempting to set up a webhook that generate an email when a new record is added to a related table - this portion works perfectly.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;What I really want to do is also return the attributes from the point feature it is related to so that I can include one of the attributes in my email notification.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/extract-changes-feature-service-.htm" target="_self" rel="nofollow noopener noreferrer"&gt;Extract Changes&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;documentation, I see that I should be able to include "includeRelated=true" to return the related record, however I am unsure of where to add this query in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attempted to include this at a variety of locations without luck. Currently I have included this within the "Check Status" HTTP request...the Flow runs, but attributes from the related record are not returned. I have also attempted to include this under "Get Edits" and "Get Edits Redirect" also with no luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_tefft_0-1637606641522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28030iC58DDDC2538364B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_0-1637606641522.png" alt="erica_tefft_0-1637606641522.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;DIV class=""&gt;Erica&lt;/DIV&gt;</description>
    <pubDate>Mon, 22 Nov 2021 18:45:49 GMT</pubDate>
    <dc:creator>erica_poisson</dc:creator>
    <dc:date>2021-11-22T18:45:49Z</dc:date>
    <item>
      <title>Return related records via Extract Changes (feature service) in Power Automate</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/return-related-records-via-extract-changes-feature/m-p/1119270#M2006</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cross-posting from ArcGIS REST API question board...see original version &lt;A href="https://community.esri.com/t5/arcgis-rest-api-questions/return-related-records-via-extract-changes-feature/m-p/1119214" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I am using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/field-maps/field-mobility/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate/" target="_self" rel="nofollow noopener noreferrer"&gt;this blog&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/277233" target="_blank" rel="noopener"&gt;@AaronPulver&lt;/A&gt;&amp;nbsp;to create webhooks in Power Automate for a Field Maps workflow. Currently, I am attempting to set up a webhook that generate an email when a new record is added to a related table - this portion works perfectly.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;What I really want to do is also return the attributes from the point feature it is related to so that I can include one of the attributes in my email notification.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/extract-changes-feature-service-.htm" target="_self" rel="nofollow noopener noreferrer"&gt;Extract Changes&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;documentation, I see that I should be able to include "includeRelated=true" to return the related record, however I am unsure of where to add this query in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attempted to include this at a variety of locations without luck. Currently I have included this within the "Check Status" HTTP request...the Flow runs, but attributes from the related record are not returned. I have also attempted to include this under "Get Edits" and "Get Edits Redirect" also with no luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_tefft_0-1637606641522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28030iC58DDDC2538364B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_0-1637606641522.png" alt="erica_tefft_0-1637606641522.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;DIV class=""&gt;Erica&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Nov 2021 18:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/return-related-records-via-extract-changes-feature/m-p/1119270#M2006</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2021-11-22T18:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Return related records via Extract Changes (feature service) in Power Automate</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/return-related-records-via-extract-changes-feature/m-p/1123448#M2054</link>
      <description>&lt;P&gt;With the help of a co-worker, I have successfully returned related records using an adapted version of&amp;nbsp;@Anonymous User&amp;nbsp;'s blog (&lt;EM&gt;see above for link&lt;/EM&gt;) for using Power Automate with a feature service/Field Maps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following Aaron's blog up until the &lt;STRONG&gt;Get Edits Redirect&lt;/STRONG&gt; step&amp;nbsp;(&lt;EM&gt;housed within the Check Status Until Ready step&lt;/EM&gt;), we then deviate and use the following workflow to retrieve the related records of the table that the webhook is associated with.&lt;/P&gt;&lt;P&gt;Basically the goal is this - a new record is submitted to a related table; within my webhook, I want to also retrieve the parent feature information to use within an email notification.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_tefft_0-1638899507333.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29018iD63D624FCC45687E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_0-1638899507333.png" alt="erica_tefft_0-1638899507333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_tefft_1-1638899539484.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29019i674FEEF6DB79895C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_1-1638899539484.png" alt="erica_tefft_1-1638899539484.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_tefft_2-1638899561547.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29020iAFA576E137393F19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_2-1638899561547.png" alt="erica_tefft_2-1638899561547.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 17:54:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/return-related-records-via-extract-changes-feature/m-p/1123448#M2054</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2021-12-07T17:54:39Z</dc:date>
    </item>
  </channel>
</rss>

