Basics:
I have a list called "Reviewers". Columns: ID (Integer), Title (Single Line of Text), Reviewer (People Picker), Role (Single Line of Text)
Below are the Rules:
- Reviewer can have more than one Role
- Role can have more than one Reviewers.
- Reviewer cannot have the same role twice.
In my New Form (See attached):
Role is selected based on the Office selected from a Dropdown.
Office values are from a Collection.
Role Values are with If Statement - see below:
If(
DataCardValue23_1.Selected.Value = "Bureaus",
"Bureau Director",
DataCardValue23_1.Selected.Value = "Deputy Secretary",
"Deputy Secretary",
DataCardValue23_1.Selected.Value = "Legal Office",
"Legal Representative",
DataCardValue23_1.Selected.Value = "Budget Office",
"Budget Representative",
DataCardValue23_1.Selected.Value = "Policy Office",
"Policy Representative",
DataCardValue23_1.Selected.Value = "Legislative Affairs",
"Legislative Director"
)
Goal:
When I add a new Reviewer (from Office 365) I want to filter Roles/Offices that are not already assigned to this specific new Reviewer if he/she already exists in the Reviewers List.
Example:
If John Doe is not part of the Reviewers List then all of the Above Roles should be available for him to choose from. However, if he already exists in the Reviewers list having say two Roles: Bureau Director and Deputy Secretary. Then when he is added again, the available options should be limited to: Legal Representative, Budget Representative, Policy Representative and Legislative Director only.
How do I achieve this?
Any help is appreciated.
Thank you,
SueA.