Okta expression language for attribute mapping

Greetings, community,

I’m endeavoring to establish a custom attribute for a SAML-integrated app (HR serving as the master app)

My aim is for the “Employee type” in the HR application to correspond to the “employee status” in Okta.

I’ve created a custom attribute in Okta and crafted an expression language for attribute matching.

However, it’s not functioning as expected. Can someone lend assistance with this?

if appuser.acaStatus ==“Terminated” then “Terminated” else “active”