Query Country or Language from LDAP?

  • 6 November 2017
  • 3 replies
  • 6 views

Badge +1

I would like to use notifications for users with multiple languages. For this i will store the text for the notification in a workflow variable. But to decide, which language variable i want to insert into the notification, i need the information about which language a person prefers. The only thing, i have found so far is a LDAP Query. But i don't know how to use it, to retrieve the language or country or countrycode from a LDAP.


3 replies

Userlevel 5
Badge +14

here you can find an example how to read user's property from LDAP

 

Badge +1

I have seen this example, but I don't know, what i have to type in to the field "Property to retrieve". I have tested as value "country" and "countrycode" and  saved both in a new workflow variable (single line text). But both variables are empty. The workflow does not throws any error.

Userlevel 5
Badge +14

'countryCode' attribute should work.

do you have it populated in LDAP?

can you try 'co' attribute?

if it is still not working for you, can you post configuration of your LDAP action and 'Run now' result?

Reply