<?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: Arcade Expression Requested operation could not be completed in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-requested-operation-could-not-be/m-p/1163207#M53891</link>
    <description>&lt;P&gt;Thank you so much!&amp;nbsp; That fixed it. Really appreciate the help!&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2022 19:12:56 GMT</pubDate>
    <dc:creator>GarrettJohnson</dc:creator>
    <dc:date>2022-04-11T19:12:56Z</dc:date>
    <item>
      <title>Arcade Expression Requested operation could not be completed</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-requested-operation-could-not-be/m-p/1163155#M53887</link>
      <description>&lt;P&gt;My colleague created the following Arcade expression and is getting the error "Requested operation could not be completed."&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;The following expression is intended to derive the “Pending (upcoming 3-week schedule) symbol label from a work order’s scheduled start date. The variables are fairly self-explanatory with the one possible exception of PUTWSL which represents the upper limit of a 3-week lookahead (today + 20 days).&lt;/P&gt;&lt;P&gt;It should also be apparent that the purpose of the expression is to make sure a scheduled start date is identified within the bounds of a given “today” and 20 days out from that “today”:&lt;/P&gt;&lt;P&gt;var SSD = $feature.ScheduledStartDate&lt;BR /&gt;var TodaysDate = Today&lt;BR /&gt;var PUTWSL = dateAdd(Today, 20, 'days')&lt;BR /&gt;if (SSD &amp;gt;= TodaysDate &amp;amp;&amp;amp; SSD &amp;lt;= PUTWSL) {return "Pending (upcoming 3-week schedule"}&lt;/P&gt;&lt;P&gt;The expression reads as valid within ArcGIS’s Expression Builder and in the Arcade playground, however when attempting to execute it, GIS states that the “Requested operation could not be completed.”&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 18:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-requested-operation-could-not-be/m-p/1163155#M53887</guid>
      <dc:creator>GarrettJohnson</dc:creator>
      <dc:date>2022-04-11T18:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Expression Requested operation could not be completed</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-requested-operation-could-not-be/m-p/1163160#M53888</link>
      <description>&lt;P&gt;You're setting "TodaysDate" to the&amp;nbsp;&lt;STRONG&gt;function&lt;/STRONG&gt; "Today", as opposed to its output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1649700961492.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38591i4ADA06D581608242/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1649700961492.png" alt="jcarlson_0-1649700961492.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Similarly, in your PUTWSL variable, you're using the function itself as a parameter.&lt;/P&gt;&lt;P&gt;Easy enough of a fix, just put "()" after "Today".&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 18:17:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-requested-operation-could-not-be/m-p/1163160#M53888</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-04-11T18:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Expression Requested operation could not be completed</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-requested-operation-could-not-be/m-p/1163207#M53891</link>
      <description>&lt;P&gt;Thank you so much!&amp;nbsp; That fixed it. Really appreciate the help!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 19:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-requested-operation-could-not-be/m-p/1163207#M53891</guid>
      <dc:creator>GarrettJohnson</dc:creator>
      <dc:date>2022-04-11T19:12:56Z</dc:date>
    </item>
  </channel>
</rss>

