<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language

Boolean Attribute from Workday Returns Null

Lifecycle Management
Okta Classic Engine
Okta Identity Engine

Overview

When a boolean attribute is created in Workday, a value of "yes" is passed to Okta as "Y," but a value of "no" is passed as "null". This article discusses whether there is a way to explicitly pass a "no" to Okta instead of showing it as null.

Applies To

  • Okta Expression Language (OEL)
  • Workday
  • Profile Mappings

Solution

A conditional expression leveraging Okta Expression Language (OEL) may be used to pass an explicit "no" to Okta. 

As an example, the following expression below uses a new attribute created in Workday, called wd_contract_expired, to evaluate if it has a null value being passed in. If there is a null value, a value of "No" will be set to the desired Okta attribute. Otherwise, a value of "Yes" will be set.

This would be set in the App to Okta User tab in the User Profile Mappings.

appuser.wd_contract_expired == null ? “No” : “Yes”

 

Related References

Recommended content

Loading
Boolean Attribute from Workday Returns Null | Okta Support