The Enable Account mapping allows you to control whether the user account is enabled or disabled.
This is a bool mapping that must result in either a true or false.
- A true result will set the user account to enabled
- A false result will set the user account to disabled

The Enable Account field mapping can be setup in such a way that when the matching user account in [target-system] is then automatically disabled.
This requirement can be achieved by creating an expression for the Enable Account mapping that looks at the employee status in UKG, and if the employee is ,then set the Enable Account mapping to true, otherwise, set the Enable Account mapping to false, which will result in the user account being disabled in [target-system] .
Employment.EmployeeStatusCode == 'A'

Employment.EmployeeStatusCode == 'Active'
Employment.OnboardingStatus == "Launched"
This expression will only return true, if the [source-object]. will result in a false. If the [source-object] or [source-object] , the expression will return a false and the user record will be disabled.
If you wanted to implement logic to set the account to enabled for all [source-object] , and set the account to disabled for all [source-object] . Then use the expression:
Employment.EmployeeStatusCode != 'T'

Employment.EmployeeStatus != 'Terminated'
Employment.OnboardingStatus != "Cancelled"
This expression will return true if [source-object] .
All employees with [source-object] will result in a true and the account will be enabled.
All employees with [source-object] will result in a false, and the account will be disabled.
Comments
0 comments
Please sign in to leave a comment.