<?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: Auto-calculate/populate Response Time Field in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179578#M46274</link>
    <description>&lt;P&gt;I am stuck on a similar issue right now. The DateAdd and DateDiff functions work in Map Viewer and Test perfectly in a Calculated Expression associated with an Atrribute in the form design. But it fails in Field Maps. I am wondering if these two Arcade functions work in Field Maps.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2022 18:35:22 GMT</pubDate>
    <dc:creator>MaryAnne_VanZuyle</dc:creator>
    <dc:date>2022-06-02T18:35:22Z</dc:date>
    <item>
      <title>Auto-calculate/populate Response Time Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179568#M46272</link>
      <description>&lt;P&gt;I have a hosted feature layer in AGOL with "Dispatch Time", "On Scene Time", and "Response Time" attributes.&lt;/P&gt;&lt;P&gt;Is there a way to automatically calculate and populate the Response Time attribute with the calculated difference between the On-Scene Time and Dispatch Time, in minutes?&amp;nbsp; Something that is automatically done each time a new record is added, so that I can build a dashboard to show an Average Response Time indicator widget?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 18:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179568#M46272</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2022-06-02T18:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-calculate/populate Response Time Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179570#M46273</link>
      <description>&lt;P&gt;Arcade comes to mind...&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/technical-article/000023627" target="_blank"&gt;How To: Calculate the difference between two date fields using Arcade in ArcGIS Pro (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 18:18:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179570#M46273</guid>
      <dc:creator>tigerwoulds</dc:creator>
      <dc:date>2022-06-02T18:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-calculate/populate Response Time Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179578#M46274</link>
      <description>&lt;P&gt;I am stuck on a similar issue right now. The DateAdd and DateDiff functions work in Map Viewer and Test perfectly in a Calculated Expression associated with an Atrribute in the form design. But it fails in Field Maps. I am wondering if these two Arcade functions work in Field Maps.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 18:35:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179578#M46274</guid>
      <dc:creator>MaryAnne_VanZuyle</dc:creator>
      <dc:date>2022-06-02T18:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-calculate/populate Response Time Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179579#M46275</link>
      <description>&lt;P&gt;That's something I'd have to manually do though, correct?&amp;nbsp; I'm looking for a way to do it automatically, anytime a new record is added.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 18:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179579#M46275</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2022-06-02T18:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-calculate/populate Response Time Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179598#M46277</link>
      <description>&lt;P&gt;You're right.&lt;/P&gt;&lt;P&gt;In order to do this, you would need to publish to ArcGIS Enterprise rather than using hosted feature layers in AGO. With ArcGIS Enterprise, you set up &lt;A href="https://pro.arcgis.com/en/pro-app/2.8/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm" target="_self"&gt;Attribute Rules&lt;/A&gt;&amp;nbsp;in ArcGIS Pro, and publish your service from a registered data store. Then, your Response Time will dynamically update based on the Dispatch and On Scene values. Currently, AGO does not support Attribute Rules.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another potential solution (although not 100% dynamic), write a python script using the ArcGIS Python API that will handle the calculation. If you put it on a task schedular, it can update the hosted feature layer in near real-time automatically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 19:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1179598#M46277</guid>
      <dc:creator>tigerwoulds</dc:creator>
      <dc:date>2022-06-02T19:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-calculate/populate Response Time Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1188362#M46748</link>
      <description>&lt;P&gt;Is there a way to display the difference between times (to get a response time) in a dashboard and an indicator widget?&amp;nbsp; What would the arcade expression look like?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 16:14:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/auto-calculate-populate-response-time-field/m-p/1188362#M46748</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2022-06-30T16:14:03Z</dc:date>
    </item>
  </channel>
</rss>

