# Okta expression language for attribute mapping

**URL:** <https://community.auth0.com/t/okta-expression-language-for-attribute-mapping/133309>\
**Category:** Get Help\
**Tags:** other, missing-category\
**Created:** [May 3, 2024, 4:55am UTC](https://community.auth0.com/t/okta-expression-language-for-attribute-mapping/133309 "2024-05-03T04:55:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Learningnow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/learningnow/32/54350_2.png) [@Learningnow](https://community.auth0.com/u/Learningnow)\
**Post date:** [May 3, 2024, 4:55am UTC](https://community.auth0.com/t/okta-expression-language-for-attribute-mapping/133309/1 "2024-05-03T04:55:28Z")

</div>

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”

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [May 31, 2024, 6:29pm UTC](https://community.auth0.com/t/okta-expression-language-for-attribute-mapping/133309/2 "2024-05-31T18:29:23Z")

</div>

Hi @User10234

Welcome to the Auth0 Community!

Thank you for posting your question and I appreciate your patience. Your issue is connected to the Okta platform rather than Auth0. I encourage you to pass your question on to the Okta Community → [Okta Help Center (Lightning)](https://support.okta.com/help/s/community?language=en_US), where experts can address your issue directly.

Thank you!  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 14, 2024, 6:30pm UTC](https://community.auth0.com/t/okta-expression-language-for-attribute-mapping/133309/3 "2024-06-14T18:30:17Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
