<?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: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow in ArcGIS Connectors for Power Automate Questions</title>
    <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1476545#M612</link>
    <description>&lt;P&gt;I'm trying this in the email body after fetch updates and keep getting the error "&lt;SPAN&gt;Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The template action 'Send_email_(V2)' at line '1' and column '1842' is not valid: "The template function 'items' is not expected at this location.".'.'."&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 20:44:51 GMT</pubDate>
    <dc:creator>LeviCecil</dc:creator>
    <dc:date>2024-05-21T20:44:51Z</dc:date>
    <item>
      <title>Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475700#M598</link>
      <description>&lt;P&gt;I'm trying to convert the creation date field from an AGOL hosted feature service from UTC to a date string in an email alert flow in Power Automate. I've only been able to find examples for converting dates from Survey 123 or Excel, and haven't found anything that works. Any help would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 17:52:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475700#M598</guid>
      <dc:creator>LeviCecil</dc:creator>
      <dc:date>2024-05-20T17:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475722#M599</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215649"&gt;@LeviCecil&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this (it's a expression):&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;convertTimeZone(addSeconds(&lt;/SPAN&gt;&lt;SPAN&gt;'1970-1-1'&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;Div(&lt;EM&gt;&lt;STRONG&gt;YOURFIELD NAME&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;,1000),&lt;/SPAN&gt;&lt;SPAN&gt;'MM/dd/yyyy&amp;nbsp;hh:mm:ss&amp;nbsp;tt'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'UTC'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Central&amp;nbsp;Standard&amp;nbsp;Time'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'MM/dd/yyyy&amp;nbsp;hh:mm:ss&amp;nbsp;tt'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hope this can help you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 May 2024 18:00:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475722#M599</guid>
      <dc:creator>DominicRobergeIADOT</dc:creator>
      <dc:date>2024-05-20T18:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475749#M600</link>
      <description>&lt;P&gt;This is an expression that I have, and it works as expected:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;convertTimeZone(addSeconds(&lt;/SPAN&gt;&lt;SPAN&gt;'1970-1-1'&lt;/SPAN&gt;&lt;SPAN&gt;, Div(items(&lt;/SPAN&gt;&lt;SPAN&gt;'Apply_to_each_3'&lt;/SPAN&gt;&lt;SPAN&gt;)?[&lt;/SPAN&gt;&lt;SPAN&gt;'Attributes/CreationDate'&lt;/SPAN&gt;&lt;SPAN&gt;],1000),&lt;/SPAN&gt;&lt;SPAN&gt;'MM/dd/yyyy hh:mm:ss tt'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'UTC'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Central Standard Time'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'MM/dd/yyyy hh:mm:ss tt'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 May 2024 18:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475749#M600</guid>
      <dc:creator>NataliyaLys</dc:creator>
      <dc:date>2024-05-20T18:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475797#M601</link>
      <description>&lt;P&gt;You may also want to explore a regular expression solution similar to the two examples below that extract date or time from a combined datetime field:&lt;/P&gt;&lt;P&gt;Text.ParseText.RegexParse Text: CSVDateRange TextToFind: $'''([0-9]+(/[0-9]+)+)''' StartingPosition: 0 IgnoreCase: False OccurrencePositions=&amp;gt; Position Matches=&amp;gt; DateMatch&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Text.ParseText.RegexParse Text: CSVDateRange TextToFind: $'''(0?[0-9]|1[0-9]|2[0-3]):00\\s[A-Za-z]+''' StartingPosition: 0 IgnoreCase: False OccurrencePositions=&amp;gt; Position Matches=&amp;gt; TimeMatch&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 19:10:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475797#M601</guid>
      <dc:creator>Sean_Works</dc:creator>
      <dc:date>2024-05-20T19:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475877#M604</link>
      <description>&lt;P&gt;Thanks for this. Would you do this inside a compose trigger and use the output in the email body?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 20:56:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475877#M604</guid>
      <dc:creator>LeviCecil</dc:creator>
      <dc:date>2024-05-20T20:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475887#M605</link>
      <description>&lt;P&gt;Add it into your email body and an expression/function&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NataliyaLys_1-1716239677076.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104689i65B7E68E249878AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NataliyaLys_1-1716239677076.png" alt="NataliyaLys_1-1716239677076.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;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NataliyaLys_0-1716239629321.png" style="width: 709px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104688i3A6B22398F3006DB/image-dimensions/709x617?v=v2" width="709" height="617" role="button" title="NataliyaLys_0-1716239629321.png" alt="NataliyaLys_0-1716239629321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 21:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1475887#M605</guid>
      <dc:creator>NataliyaLys</dc:creator>
      <dc:date>2024-05-20T21:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1476545#M612</link>
      <description>&lt;P&gt;I'm trying this in the email body after fetch updates and keep getting the error "&lt;SPAN&gt;Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The template action 'Send_email_(V2)' at line '1' and column '1842' is not valid: "The template function 'items' is not expected at this location.".'.'."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 20:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1476545#M612</guid>
      <dc:creator>LeviCecil</dc:creator>
      <dc:date>2024-05-21T20:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1477787#M614</link>
      <description>&lt;P&gt;The &lt;EM&gt;items('Apply_to_each')&lt;/EM&gt; implies it's being done in a loop for multiple values. How is your current flow set up? It's just taking the time from one row right? For survey mine looks like&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;@addSeconds('1970-1-1', Div(triggerOutputs()?['body/feature/attributes/startdatetime'], 1000))&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can you share your flow and show where you're bringing the time in and converting it and placing it in the email?&lt;/P&gt;&lt;P&gt;There are also "Add time" and "Convert time" actions that I use in some flows that can read it properly.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 16:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1477787#M614</guid>
      <dc:creator>RobertAnderson3</dc:creator>
      <dc:date>2024-05-23T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AGOL Hosted Feature Service Creation Date in Power Automate Flow</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1479831#M627</link>
      <description>&lt;P&gt;Ah, thanks! I tried it again and it worked!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 21:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/convert-agol-hosted-feature-service-creation-date/m-p/1479831#M627</guid>
      <dc:creator>LeviCecil</dc:creator>
      <dc:date>2024-05-28T21:03:42Z</dc:date>
    </item>
  </channel>
</rss>

