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

Question

Question

Forms Version 12 - Lookup Rules

asked on December 1

Please see the attached screen shot.

The lookup table contains employee information.  Each employee will have one table record.  The table contains a column named ADUserName.  The table also contains a table named SupervisorFullName.  What I am trying to do is find the employee's supervisor's active directory account.  From the screen shot, Rule 2 works.  For Rule 3, I am using the Immediate Supervisor field that I filled in Rule 2 to find the supervisor's active directory account.  Rule 3 is not populating the Immediate Supervisor DN field.  Am I missing something?

Screenshot 2026-12-01 112340.png
0 0

Replies

replied on December 1 • Show version history

I think you're matching the wrong value in rule 3.

Let's say this is the data:

ADUserName     FullName     EmailAddress          SupervisorFullName
--------------------------------------------------------------------
johnd          John Doe     john.doe@email.com    Jane Doe
janed          Jane Doe     jane.doe@email.com    CEO Name

Rule 2 is saying that when the EmailAddress is john.doe@email.com that we should return the SupervisorFullName (Jane Doe).  That seems to be correct.

But Rule 3 is saying that when SupervisorFullName is Jane Doe that we should return the ADUserName, which is this case would be johnd, and would try to return multiple results if Jane Doe had multiple staff members reporting to her.  That's not what you want.  You are not wanting to say "SupervisorFullName is Jane Doe", you are actually wanting to say "FullName is Jane Doe" in order to return Jane Doe's record instead of the records of users that report to Jane Doe.

Does that make sense?

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

Sign in to reply to this post.