<?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: How to return null in Arcade with Calculate Field (python works fine)? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207456#M9152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jimmy: for Pro [&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;BUG-000119064:&amp;nbsp;&lt;SPAN&gt;Calculating a value to null using Arcade returns 0.]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;&lt;SPAN&gt;Xander: the behavior in Online isn't as pervasive and seems to only affect Text fields [&lt;SPAN style="background-color: #ffffff;"&gt;BUG-000119062:&amp;nbsp;Calculating a Text field value to null using Arcade returns 0, not null.]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Dec 2018 18:42:36 GMT</pubDate>
    <dc:creator>KoryKramer</dc:creator>
    <dc:date>2018-12-28T18:42:36Z</dc:date>
    <item>
      <title>How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207449#M9145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to use the Calculate Field GP tool in ArcGIS Pro 2.2.3. I need to use logic (if else statements) to modify some field values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've searched and searched and can't find how to do this in Arcade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In python, the following works fine. It actually sets the field to Null (verified by an isNull definition query).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; None‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In Arcade, the following just returns 0&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; null‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've tried a bunch of other things with Arcade, but no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas how to return null with Arcade?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 22:26:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207449#M9145</guid>
      <dc:creator>JimmyKnowles</dc:creator>
      <dc:date>2018-12-21T22:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207450#M9146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Empty strings might be an option, since they return true from Arcade's&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/logical_functions/#isempty"&gt;IsEmpty() function&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Dec 2018 01:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207450#M9146</guid>
      <dc:creator>StephenM</dc:creator>
      <dc:date>2018-12-22T01:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207451#M9147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stephen. That might be an option. I've already got records that have attributes w/ Null and due to my OC tendencies, I'd like all&amp;nbsp;these records to&amp;nbsp;to use the same 'null' value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it to work with python code, so not a huge deal, was just curious if anyone had a solution in Arcade.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 18:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207451#M9147</guid>
      <dc:creator>JimmyKnowles</dc:creator>
      <dc:date>2018-12-26T18:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207452#M9148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, Python seems like the way to go here.&amp;nbsp;It's&amp;nbsp;strange&amp;nbsp;that in Arcade&amp;nbsp;&amp;lt;Null&amp;gt; table values return true from the IsEmpty() function, but &lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;null&lt;/SPAN&gt; itself returns 0 back to the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207452#M9148</guid>
      <dc:creator>StephenM</dc:creator>
      <dc:date>2018-12-27T18:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207453#M9149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also noticed&amp;nbsp;this in ArcGIS Pro. Very weird, even for a Text field assigning the Null value&amp;nbsp;end up writing a 0 to the table. &lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;&amp;nbsp;have you seen this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a test in ArcGIS Online and created two fields (a text and a double field) and assinged Null to&amp;nbsp;both fields using an Arcade expression:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="318" src="https://community.esri.com/legacyfs/online/432304_pastedImage_2.png" width="496" /&gt;&lt;/P&gt;&lt;P&gt;In the pop-up it is not very what the actual assiged values is, so I&amp;nbsp;exported the hosted feature layer to FGDB and loaded it into ArcGIS Pro to discover that&amp;nbsp;there is an actual Null value in the Double Field, but the text field contains an empty string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/432303_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 12:36:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207453#M9149</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-12-28T12:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207454#M9150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for pinging me, &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌!&amp;nbsp; No, I haven't seen this before and after checking, I don't see any other reports of this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/266530"&gt;Jimmy Knowles&lt;/A&gt;‌ How are you!?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to run this by a product engineer on the Pro team, but unfortunately it looks like a bug to me.&amp;nbsp; Basically, whenever I use Arcade to calculate null into a field (regardless of data type) it says that it succeeds and writes 0 to the field.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/432319_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I tested with Text, Short and Double.&amp;nbsp; So that is a bit different from what Xander saw when running the calculation in ArcGIS Online.&amp;nbsp; I think we'll need to get a bug logged for this and Jimmy, I can get you attached to that when we have it.&amp;nbsp; Glad that you have an easy Python workaround. I'll follow up on this soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 15:24:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207454#M9150</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2018-12-28T15:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207455#M9151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;&amp;nbsp;for the&amp;nbsp;confirmation and for testing the behavior in AGOL.&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;, thanks for the additional info as well and for working to get the bug logged. Life is good, I'll send you an email.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 16:53:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207455#M9151</guid>
      <dc:creator>JimmyKnowles</dc:creator>
      <dc:date>2018-12-28T16:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207456#M9152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jimmy: for Pro [&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;BUG-000119064:&amp;nbsp;&lt;SPAN&gt;Calculating a value to null using Arcade returns 0.]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;&lt;SPAN&gt;Xander: the behavior in Online isn't as pervasive and seems to only affect Text fields [&lt;SPAN style="background-color: #ffffff;"&gt;BUG-000119062:&amp;nbsp;Calculating a Text field value to null using Arcade returns 0, not null.]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 18:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207456#M9152</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2018-12-28T18:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207457#M9153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;&amp;nbsp;,&amp;nbsp;thanks for attending this issue. You are right, it seems that the problem in ArcGIS Pro is more pervasive.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 19:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207457#M9153</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-12-28T19:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207458#M9154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;‌, has this bug been fixed with Pro 2.4? I can't find reference to the ArcGIS Pro bug on the Esri support site under &lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;BUG-000119064 but can find the ArcGIS Online &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTA2Mg=="&gt;&lt;SPAN style="background-color: #ffffff; color: #080707; "&gt;BUG-000119062&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 02:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207458#M9154</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-19T02:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207459#M9155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark - unfortunately, no, it has not yet been addressed.&amp;nbsp; You should now be able to find it here:&amp;nbsp;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTA2NA=="&gt;https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTA2NA==&lt;/A&gt;&amp;nbsp;where you can click the Subscribe button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The implicit casting behavior of null is to go to 0 in Arcade. There are cases where we override this&amp;nbsp;so the dev team will look at getting the correct overrides in place...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 13:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207459#M9155</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-08-20T13:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207460#M9156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently needed to populate some fields with a true &amp;lt;Null&amp;gt; value instead of a 0.&lt;/P&gt;&lt;P&gt;In ArcGIS Pro, using Arcade to try and calculate this field value to a true null, resulted only in populating the field with a zero or 0. I did some research and found that if I set the Expression Type to Python 3 (instead of Arcade) and then Calculate Field field_name = None&amp;nbsp; &amp;nbsp; (no quotes around None, gave me actual true null values in the cells of the selected records).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Calculating a true null value in a field using Expression Type Python 3" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/472374_NULL_Value.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2019 16:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207460#M9156</guid>
      <dc:creator>TanyaBagley-Online</dc:creator>
      <dc:date>2019-11-04T16:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207461#M9157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looky here:&amp;nbsp;&lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTA2NA==" title="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTA2NA=="&gt;BUG-000119064: Calculating a value to null using Arcade returns 0..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/472756_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Pro 2.5 should be out in January.&amp;nbsp; I guess until then (as I'm assuming others have been doing now anyway) stick with Python, and the 2020 resolution will be to use Arcade to calculate Null!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 14:38:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207461#M9157</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-11-07T14:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207462#M9158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/266530"&gt;Jimmy Knowles&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;&amp;nbsp;I know&amp;nbsp;this is very late in the game, with the bug fix coming in January, but I was just able to successfully return true Null in Arcade by just using "return" (without "null")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="332" src="https://community.esri.com/legacyfs/online/475405_pastedImage_1.png" width="271" /&gt;@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 18:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207462#M9158</guid>
      <dc:creator>TristanTaylor</dc:creator>
      <dc:date>2019-12-05T18:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207463#M9159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of Pro?&amp;nbsp; Calculating on what data type?&lt;/P&gt;&lt;P&gt;I just tried in 2.4.1 on a Long and Text field and using just 'return' returns 0.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475411_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 18:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207463#M9159</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-12-05T18:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207464#M9160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Kory &amp;amp; Tristan, I tested this in 2.4.2 and using Arcade in the 'Calculate Field' GP tool, it yields the same results as we've seen previously. It appears Tristan is using Attribute Rules. I can confirm that when using Attribute Rules, an Arcade expression of just 'return' does indeed return Null for both Text and Double.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I haven't needed this since almost exactly a year ago, so didn't even think if attribute rules would have helped or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 22:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207464#M9160</guid>
      <dc:creator>JimmyKnowles</dc:creator>
      <dc:date>2019-12-06T22:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207465#M9161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see some using "return "... is there a way to do this in an attribute rule that is an "edit return"?&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #c586c0;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'result'&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;$feature&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;attribute&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'edit'&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'className'&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'anotherFeatureClass'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'updates'&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'globalID'&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;objectsGlobalID&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'attributes'&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'anotherFeaturesAttribute'&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; "&gt;null // i'd like to update the other feature with "&amp;lt;Null&amp;gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 20:14:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207465#M9161</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-12-12T20:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207466#M9162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌&amp;nbsp; I have the above question too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 19:23:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207466#M9162</guid>
      <dc:creator>TL2</dc:creator>
      <dc:date>2020-01-16T19:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207467#M9163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/166222" target="_blank"&gt;T L&lt;/A&gt;&amp;nbsp; and&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/373569" target="_blank"&gt;Caleb  Melies&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just wondering, if you follow the advise of &lt;A href="https://community.esri.com/people/ttaylo13" target="_blank"&gt;ttaylo13&lt;/A&gt;&amp;nbsp; and just leave it blank, does that work?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;'result'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;attribute&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;'edit'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
            &lt;SPAN class="string token"&gt;'className'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'anotherFeatureClass'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
            &lt;SPAN class="string token"&gt;'updates'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                    &lt;SPAN class="string token"&gt;'globalID'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; objectsGlobalID&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                    &lt;SPAN class="string token"&gt;'attributes'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                        &lt;SPAN class="string token"&gt;'anotherFeaturesAttribute'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 
                    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
            &lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207467#M9163</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T10:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to return null in Arcade with Calculate Field (python works fine)?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207468#M9164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like its fixed in 2.5&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 21:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-null-in-arcade-with-calculate-field/m-p/207468#M9164</guid>
      <dc:creator>TL2</dc:creator>
      <dc:date>2020-01-16T21:05:37Z</dc:date>
    </item>
  </channel>
</rss>

