I created a custom user profile field and this is not mandaoty for all users. I am include this in list of claims as shown below. I see this claim when it has value, but I see “User claim evaluation failure” error in the system log.
The User claim evaluation failure is likely just a warning message since Okta is not expecting null values. A potential workaround is to add a check to the expression such as (user.empId != null) ? user.empId : ''