<?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: Automating Workflow (Arcade) in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1095350#M45189</link>
    <description>&lt;P&gt;I'm actually using it to calculate the field because using the same expression in hosted layer's popu makes the pop-up take 30 seconds-1 minute to load per feature, vs 30 seconds to calculate the field across the entire dataset all at once and have the information there permanently until the next update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like Calculate Field is going to be the perfect tool for this. I didn't realize it was able to be used in Model Builder.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 03 Sep 2021 16:30:50 GMT</pubDate>
    <dc:creator>AlfredBaldenweck</dc:creator>
    <dc:date>2021-09-03T16:30:50Z</dc:date>
    <item>
      <title>Automating Workflow (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1095101#M45152</link>
      <description>&lt;P&gt;I'm looking at automating my workflow, the last step of which includes using an arcade expression to calculate a field. Basically Python's doing all the heavy lifting beforehand, and Arcade is being used to make the end result pretty.&lt;/P&gt;&lt;P&gt;Is it possible to automate an arcade expression like you would a python script?&lt;/P&gt;&lt;P&gt;If not, is there an easy way to run it,&amp;nbsp;wrapped in a python script, from within the Model Builder?&lt;/P&gt;&lt;P&gt;Or do I have to rewrite it in Python?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 20:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1095101#M45152</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2021-09-02T20:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Workflow (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1095222#M45166</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;Is it possible to automate an arcade expression like you would a python script?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Depends. You can't execute an Arcade expression in certain intervals like you could with a Python script. But you can write Attribute Rules that automatically calculate your field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;If not, is there an easy way to run it, wrapped in a python script, from within the Model Builder?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You can use your Arcade expression in the &lt;A href="https://pro.arcgis.com/de/pro-app/latest/tool-reference/data-management/calculate-field.htm" target="_blank" rel="noopener"&gt;Calculate Field&lt;/A&gt; tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Arcade is being used to make the end result pretty&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If all you want to do with Arcade is to prettify things, you could also do that in the Popup.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 08:18:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1095222#M45166</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2021-09-03T08:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Workflow (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1095350#M45189</link>
      <description>&lt;P&gt;I'm actually using it to calculate the field because using the same expression in hosted layer's popu makes the pop-up take 30 seconds-1 minute to load per feature, vs 30 seconds to calculate the field across the entire dataset all at once and have the information there permanently until the next update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like Calculate Field is going to be the perfect tool for this. I didn't realize it was able to be used in Model Builder.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 16:30:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1095350#M45189</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2021-09-03T16:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Workflow (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1249641#M64417</link>
      <description>&lt;P&gt;is it possible to store an Arcade expression in memory rather than having it write to an attribute table? I'm hoping to create a model that selects features that are marked as&amp;nbsp;&lt;EM&gt;Complete&lt;/EM&gt; and if they are older than 30 days (this would be my arcade expression - something like &lt;STRONG&gt;CompletedDate &amp;lt;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;DateAdd(Date(),-30,'days')&lt;/STRONG&gt;) delete the points.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 19:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1249641#M64417</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-01-19T19:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Workflow (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1249816#M64444</link>
      <description>&lt;P&gt;While you can delete features with Arcade, doing so in the Field Calculator is complicated.&lt;/P&gt;&lt;P&gt;If you want to build a model, you can do this easily with the available ArcGIS Tools:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1674201898265.png" style="width: 556px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/60814i1B5FB37950548111/image-dimensions/556x195?v=v2" width="556" height="195" role="button" title="JohannesLindner_0-1674201898265.png" alt="JohannesLindner_0-1674201898265.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the Select Layer By Attribute tool, use this SQL expression (this works for a file gdb, you might need a different expression if you work in an enterprise gdb):&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;TextField = 'Completed' AND DateField &amp;lt; CURRENT_DATE() - 30&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:07:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automating-workflow-arcade/m-p/1249816#M64444</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-01-20T08:07:18Z</dc:date>
    </item>
  </channel>
</rss>

