I'm calculating field1 using code block and python. The script checks if field2 value is not None. If true, I need it to calculate field1 to be the domain value not the domain code of field2. I'll provide the script below. Checking "Enforce Domains" does not help. Result is always the domain code not the domain value. Result should be 'N' (domain value) and not 3 (domain code).


Thanks for any guidance.