<?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: Return related records via Extract Changes (feature service) in Power Automate in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/return-related-records-via-extract-changes-feature/m-p/1123453#M4019</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;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/277233" target="_blank"&gt;@AaronPulver&lt;/A&gt;&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;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Get Edits Redirect&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&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-1638899721937.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29021i5ABC9622A789040D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_0-1638899721937.png" alt="erica_tefft_0-1638899721937.png" /&gt;&lt;/span&gt;&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="erica_tefft_1-1638899721738.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29023iA07CE0DC3292EF4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_1-1638899721738.png" alt="erica_tefft_1-1638899721738.png" /&gt;&lt;/span&gt;&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="erica_tefft_2-1638899721742.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29022iB451FD5488AB439D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_2-1638899721742.png" alt="erica_tefft_2-1638899721742.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:55:31 GMT</pubDate>
    <dc:creator>erica_poisson</dc:creator>
    <dc:date>2021-12-07T17:55:31Z</dc:date>
    <item>
      <title>Return related records via Extract Changes (feature service) in Power Automate</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/return-related-records-via-extract-changes-feature/m-p/1119214#M4017</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using &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"&gt;this blog&lt;/A&gt; from&amp;nbsp;@Anonymous User&amp;nbsp;to create webhooks in Power Automate. 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;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;A href="https://developers.arcgis.com/rest/services-reference/enterprise/extract-changes-feature-service-.htm" target="_self"&gt;Extract Changes&lt;/A&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-1637597143751.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28026i1F583888489B4C6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_0-1637597143751.png" alt="erica_tefft_0-1637597143751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 16:08:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/return-related-records-via-extract-changes-feature/m-p/1119214#M4017</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2021-11-22T16:08:50Z</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-rest-apis-and-services-questions/return-related-records-via-extract-changes-feature/m-p/1123453#M4019</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;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/277233" target="_blank"&gt;@AaronPulver&lt;/A&gt;&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;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Get Edits Redirect&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&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-1638899721937.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29021i5ABC9622A789040D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_0-1638899721937.png" alt="erica_tefft_0-1638899721937.png" /&gt;&lt;/span&gt;&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="erica_tefft_1-1638899721738.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29023iA07CE0DC3292EF4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_1-1638899721738.png" alt="erica_tefft_1-1638899721738.png" /&gt;&lt;/span&gt;&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="erica_tefft_2-1638899721742.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29022iB451FD5488AB439D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_2-1638899721742.png" alt="erica_tefft_2-1638899721742.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:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/return-related-records-via-extract-changes-feature/m-p/1123453#M4019</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2021-12-07T17:55:31Z</dc:date>
    </item>
  </channel>
</rss>

