Skip to main content
July 4, 2023
Question

Need to add condition in Email field in "LDAP User Profile Synchronization" node

  • July 4, 2023
  • 3 replies
  • 0 views

Hello,

we take data from Active Directory(AD). We use the "LDAP User Profile Synchronization" node to synch data from AD to Appian.

We have a requirement to consider email based on the below condition.

"If CallingCardNumber = Migrated then consider the value from mail attribute or else consider value from PrimaryEmail attribute".

How can I add a condition in this "LDAP User Profile Synchronization" node's "User Email" field?

Thanks in advance.

Jigna

3 replies

stefanhelzle0001
July 4, 2023

AFAIK it does not support this kind of conditions. But you can try to modify the LDAP query to include that condition. An alternative is, to fetch both fields and run some logic in Appian to pick the right one.

July 4, 2023

Thanks for your reply.  

what do you exactly mean by LDAP query? Can you please explain some more?

stefanhelzle0001
July 4, 2023

I am not an LDAP expert by any means. But, LDAP is just like a database and supports queries. These queries support logic for filtering and selecting fields. I am not sure whether the LDAP User Profile Sync can do that directly, but you could run a separate LDAP query per user and fetch values based on the described logic.