I have 2 applications, Controls and Tests.
Controls application has the cross-reference of Tests application.
Controls application has a Record Permission field 'Control Owner'. Tests application has a Record Permission field 'Test Performer'.
I have to validate these fields such that:
Control Owner and Test Performer cannot be the same User/Group.
System should not allow the selection of a User as 'Control Owner' if the user is listed as the Test Performer for any of the linked tests in the control.
Similarly, System should not allow the selection of a User as 'Test Performer' if the user is listed as the Control Owner for any of the linked controls for the test.
I tried adding a calculated field that would give me a flag indicating whether the users selected are same or no.
Please help!