<?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 Get data from feature layer Query on Date in ArcGIS Connectors for Power Automate Questions</title>
    <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1487272#M631</link>
    <description>&lt;P&gt;I am trying to use the Get data from feature layer to bring back any records that have been created in the last seven days.&amp;nbsp; Every time I try to query on a date file I receive an error "Cannot perform query.&amp;nbsp; Invalid query parameters".&amp;nbsp; If i query the Feature Layer on a field that is not date, i have not issues.&amp;nbsp; It is only when I attempt to query on the date fields.&amp;nbsp; I have tried using the Available Fields/Comparison Type/Search Parameter Value and the Where fields to do this.&amp;nbsp; Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;Below are some screen shots of my flow steps with the formula's shown.&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="MJune_0-1717773423268.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106478iEDD47CA041537D7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MJune_0-1717773423268.png" alt="MJune_0-1717773423268.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="MJune_1-1717773486556.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106480i65DB7A27E792BC45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MJune_1-1717773486556.png" alt="MJune_1-1717773486556.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>Fri, 07 Jun 2024 15:22:24 GMT</pubDate>
    <dc:creator>MJune</dc:creator>
    <dc:date>2024-06-07T15:22:24Z</dc:date>
    <item>
      <title>Get data from feature layer Query on Date</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1487272#M631</link>
      <description>&lt;P&gt;I am trying to use the Get data from feature layer to bring back any records that have been created in the last seven days.&amp;nbsp; Every time I try to query on a date file I receive an error "Cannot perform query.&amp;nbsp; Invalid query parameters".&amp;nbsp; If i query the Feature Layer on a field that is not date, i have not issues.&amp;nbsp; It is only when I attempt to query on the date fields.&amp;nbsp; I have tried using the Available Fields/Comparison Type/Search Parameter Value and the Where fields to do this.&amp;nbsp; Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;Below are some screen shots of my flow steps with the formula's shown.&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="MJune_0-1717773423268.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106478iEDD47CA041537D7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MJune_0-1717773423268.png" alt="MJune_0-1717773423268.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="MJune_1-1717773486556.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106480i65DB7A27E792BC45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MJune_1-1717773486556.png" alt="MJune_1-1717773486556.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>Fri, 07 Jun 2024 15:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1487272#M631</guid>
      <dc:creator>MJune</dc:creator>
      <dc:date>2024-06-07T15:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from feature layer Query on Date</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1488997#M632</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Could you please check a couple of things:&lt;BR /&gt;1. If you use the drop-down and select the field "Created_date" does it work?&lt;BR /&gt;2. What is the datatype of the field created_date?&lt;BR /&gt;&lt;BR /&gt;From your query, it seems that you are likely passing a Unix Epoch (integer) to a date-type field.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 17:55:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1488997#M632</guid>
      <dc:creator>PavelJilinski</dc:creator>
      <dc:date>2024-06-11T17:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from feature layer Query on Date</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1490996#M636</link>
      <description>&lt;P&gt;I attempted to use the drop-down and select the field, that did not work either.&amp;nbsp; The created_date is a "Date" field.&amp;nbsp; I was attempting to use a regular date format without success.&amp;nbsp; When i pull back all records, the created_date field is in the Unix Epoch format&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 20:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1490996#M636</guid>
      <dc:creator>MJune</dc:creator>
      <dc:date>2024-06-12T20:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from feature layer Query on Date</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1495606#M647</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Thanks for your feedback. I was able to reproduce and identify the issue.&lt;BR /&gt;You need to provide the date as a string, such as '2024/01/23'. See the example below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PavelJ_0-1718910994662.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107567i89FD3EA686575B68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PavelJ_0-1718910994662.png" alt="PavelJ_0-1718910994662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please, for now, add single quotation marks (') around the date: for example: '2024/02/14'.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 19:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/get-data-from-feature-layer-query-on-date/m-p/1495606#M647</guid>
      <dc:creator>Pavel148</dc:creator>
      <dc:date>2024-06-20T19:17:51Z</dc:date>
    </item>
  </channel>
</rss>

