So I'm working on some Arcade code to create a specific format of ID when a new feature is created. My code is below, which seems to compile OK, and is giving me the result I am expecting in the console window, but the attribute field on the actual feature is not getting updated.
Any advice on why my code isn't working?
Thanks!
