Dear Friends,
I am facing an strange issue in outbound Sync rule for provisioning of users in AD. I have set the following two conditions on to create users in two different OUs however only first condition works and the second doesn't work. There is no error message and
both OUs are checked in ADMA container and same required permission assigned.
IFF(CustomExpression(Eq(employeeType,"Full Time Employee")),(CustomExpression "CN="+accountName+",OU=Employee,DC=dev,DC=local"),(CustomExpression(Null()))+IFF(CustomExpression(Eq(employeeType,"Contractor")),(CustomExpression("CN="+accountName+",OU=Contractor,DC=dev,DC=local"),(CustomExpression(Null())
I have created through the GUI options and the details are as follow:
1.
Function
Function name
IFF
condition:Boolean
Eq(employeeType,"Full Time Employee")
ValueTrue:Object
"CN="+accountName+",OU=Employee,DC=dev,DC=local"
ValueFalse:Object
Null()
2.
Function
Function name
IFF
condition:Boolean
Eq(employeeType,"Contractor")
ValueTrue:Object
"CN="+accountName+",OU=Contractor,DC=dev,DC=local"
ValueFalse:Object
Null()
Regards
Sarwar
Sarwar