You are viewing limited content. For full access, please sign in.

Question

Question

AD does not send email address to workflow

asked on January 1, 2018

I am trying to use workflow find user activity to get user email via Active directory, when i search using the AD user i can get the user correctly but the email column is blank, i've double check the AD details and i confirm the email is filled. anyone know how to solve this? Thanks in advance.

 

Jeff

Untitled2.png
Untitled.png
Untitled2.png (14.57 KB)
Untitled.png (9.01 KB)
0 0

Answers

APPROVED ANSWER
replied on January 2, 2018

In the Workflow Directory manager, you will need to create a new entry for your active directory. Just click manage, add, and then put in one of your AD domain controllers and you should be okay. After you do this and switch what directory you are using, you should be successful.

1 0
SELECTED ANSWER
replied on January 2, 2018

Update: I solved the problem by using for each user to loop thru AD with the user token from the LF directory. thanks guys!

0 0
replied on January 3, 2018

Jeff, can you post up how that is configured please? Thanks

0 0
replied on January 4, 2018

1.First i use find group to locate the group of users i want to search(LF repository).

2.Create a new token and enable multiple value token.

3.Run a For each user loop thru the group of users.

4.In the For each user loop, include a Find AD user(lookup option for this have to change to your AD directory).%(ForEachUser_Current User_Account Name#@Split(AGRO\);Trim@##[ ]#)

P/S:  the trim behind the token is meant to delete away domain name as when we run search on the AD directory we don't need the domain name.

5.Put in Assign token values and append the step 2 token. %(FindADUser_E-mail)

 

So now the token will grab the email from the AD with the account name in your LF repository!

1.png
1.png (8.17 KB)
0 0

Replies

replied on January 2, 2018

Jeff,

You are not actually searching AD, but you are searching the repository. You can see that by looking at the Directory value. You need to do as John suggested to add an AD as an option to query against.

2 0
replied on January 2, 2018

guys thanks for the reply, yes im manage to change the directory to AD and i am able to grab the email information as well.but in this case, i managed all of the user groups within the administration console, which the groups are different with the group in the AD. So  the group i search in the workflow is not really relevant to the group in the admin console.

 

example:

admin console group - Group A (User1, user2, user3)

AD group - Group A(User1, user2, user4)

 

the purpose of the searching/find activity is to track the email and send email notification, any idea? when i type AD account name in the LFrepository to search the user i can get the account name right, but the email is blank, if it can fetch the email details then my problem is solved. By changing the directory to AD and the group in the AD is not the group i want to use.

 

thanks

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.