Sync Manager attribute from LDAP to supervisor in Appian using LDAP Synch

Hi All, Can any one let me know how to Sync Manager attribute from LDAP to superviser in Appian using LDAP User Profile Synchronization with UserName plugin. we are able to sync other attribute like firstName,lastName, email, Phone etc but As in LDAP, manager attribute contain value like (CN=user2,CN=Users,DC=appianldap,DC=com) i am spliting it two times and fetching value at index 2 like(=topeople(index(split(split("manager",","),"="),2,0). this rule return me value user2 but still its not being set to the superviser attribute in Appian....

OriginalPostID-74460

OriginalPostID-74460

  Discussion posts and replies are publicly visible

Parents
  • I have not used the "LDAP User Profile Synchronization with UserName" plugin but one work around I can think of is, Supervisor is not a mandatory field while creating a user. So can you try doing this
    1. Create the user from LDAP (without setting the Supervisor field)
    2. Save the value - "(CN=user2,CN=Users,DC=appianldap,DC=com)" in a process variable say "managerFromLDAP"
    3. Use the Update user Profile Node to set the supervisor using the expression - topeople(index(split(split(pv!managerFromLDAP,","),"="),2,0) OR touser(index(split(split(pv!managerFromLDAP,","),"="),2,0).
    Hope this helps.
Reply
  • I have not used the "LDAP User Profile Synchronization with UserName" plugin but one work around I can think of is, Supervisor is not a mandatory field while creating a user. So can you try doing this
    1. Create the user from LDAP (without setting the Supervisor field)
    2. Save the value - "(CN=user2,CN=Users,DC=appianldap,DC=com)" in a process variable say "managerFromLDAP"
    3. Use the Update user Profile Node to set the supervisor using the expression - topeople(index(split(split(pv!managerFromLDAP,","),"="),2,0) OR touser(index(split(split(pv!managerFromLDAP,","),"="),2,0).
    Hope this helps.
Children
No Data