AnsweredAssumed Answered

How to return null in Arcade with Calculate Field (python works fine)?

Question asked by jknowles@usbr.gov_USBR on Dec 21, 2018
Latest reply on Dec 28, 2018 by xander_bakker

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.

 

I've searched and searched and can't find how to do this in Arcade.

 

In python, the following works fine. It actually sets the field to Null (verified by an isNull definition query).

 

return None

In Arcade, the following just returns 0

return null

I've tried a bunch of other things with Arcade, but no success.

 

Anyone have any ideas how to return null with Arcade?

Outcomes