Working with 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 a Bool expressions to evaluate data, and then depending on the outcome of the Bool expression, it will 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.

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

Auto Provision Conditions Rule
Employment.EmployeeStatusCode == 'A'
All active employees will be provisioned
 
Employment.EmployeeStatusCode == 'L'
All on-leave employees will be provisioned
 
Employment.EmployeeStatusCode != 'T'
All non-terminated employees will be provisioned
 
Enable Account Mapping
Employment.EmployeeStatusCode.OneOf('A,L')
All active or on-leave employees will be enabled
 
Employment.EmployeeStatusCode != 'T'
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

Next Working with Constants