IsUpdate is a constant that can be used in conditional expressions to determine if the user record already exists and will be updated.
In the example below, IsUpdate sets the employee type when an employee record is updated:
WHEN IsUpdate
THEN [source-object]
Here are a few examples of IsUpdate being used.
Ignore the Container mapping if this is an update:
WHEN IsUpdate
WHEN Ignore
If the user is being updated, their current container will not be changed.
Move an into a specific org unit:
WHEN IsUpdate && Employment.OnboardingStatus == 'Launched'
WHEN IsUpdate && Employment.EmployeeStatusCode == 'A'
WHEN IsUpdate && Employment.EmployeeStatus == 'Active'
THEN
If the user is being updated and the employee , then the user will be moved into the org unit.
Move a into a specific org unit:
WHEN IsUpdate && Employment.EmployeeStatusCode == 'T'
WHEN IsUpdate && Employment.EmployeeStatus == 'Terminated'
WHEN IsUpdate && Employment.OnboardingStatus == 'Cancelled'
THEN OU=Terminated
If the user is being updated and the employee , then the user will be moved into the Terminated org unit
Move an employee into a specific org unit based on their [source-object] :
WHEN IsUpdate
THEN $"OU={OrgLevel1.Description}"
THEN $"OU={Employment.Company}"
WHEN IsUpdate
THEN $"OU={Employment.OrgLevel1Description}"
If the user is being updated, move the user into the matching org unit based on their [source-object] .
Comments
0 comments
Please sign in to leave a comment.