Conditional Expressions

You can use conditional expressions in your mappings to evaluate UKG or AD fields before determining which value to use.

A conditional expression uses Bool expressions to evaluate data, and then depending on the outcome, determine which value to use.

Conditional expressions are evaluated in order from the top down. The first condition that is a match (the condition is true), will be used as the output.

conditional expressions.png

Here are a few examples of commonly used string conditional expressions:

Auto Provision Conditions Rule

Employment.EmployeeStatus == 'Active'
All active employees will be provisioned
 
Employment.EmployeeStatus == 'Leave'
All on-leave employees will be provisioned
 
Employment.EmployeeStatus != 'Terminated'
All non-terminated employees will be provisioned
 

Enable Account Mapping

Employment.EmployeeStatus.OneOf('Active,Leave')
All active or on-leave employees will be enabled
 
Employment.EmployeeStatus != 'Terminated'
Only non-terminated employees will be enabled
  

Container Mapping

Person.AddressState.OneOf('FL,GA')
All employees living in Florida or Georgia will be provisioned or moved to the OU=Southeast container
 
Person.AddressState.OneOf('NY,MA')
All employees living in New York or Massachusetts will be provisioned or moved to the OU=Northeast container
 
Person.AddressState.OneOf('IL,MO')
All employees living in Illinois or Missouri will be provisioned or moved to the OU=Midwest container

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.