Hi Friends
I am looking for solution for the below scenario. This is just an example and actual logic includes 100's condition and various logic.
I have a Employee Table, and Appeal table with me.
Employee
| Emp_ID | Experience | Age | Salary | Rating |
| 381687 | 3 | 26 | 16520 | 2 |
| 277876 | 4 | 37 | 13268 | 2 |
| 220787 | 10 | 47 | 14653 | 2 |
| 593529 | 1 | 26 | 15994 | 3 |
| 815231 | 2 | 43 | 12453 | 2 |
| 1135322 | 4 | 49 | 16228 | 1 |
| 283733 | 6 | 32 | 12634 | 3 |
| 831438 | 4 | 37 | 12256 | 3 |
Each employee go thru some conditions in the workflow. I will be using couple of Filter conditions to qualify. If any employee does not meet (False) condition, we need to append a Error code for rejection (Using formula tool). In the Screenshot below, Cd='E111' is a Rejection Error code for Experience Criteria, Cd='A111' is a Rejection Error code for Age Criteria and Cd='R111' is a Rejection Error code for Age Criteria.

Interestingly, few employees have been given an exception from these errors. If any employee who failed in the Filter condition , has an Entry (An error Code from which he is exempted) Appeal Information, he/she can be considered as eligible and should go thru the second criteria. I.e: Employee X failed in the Experience criteria, but has an exception Appeal in Appeal table, so he will be considered as success and go to the next condition which is Age <= 40. In the next condition if he/she fails, they should be checked against Appeal Table for exception. If any exception is given for them, they will go to next condition or they will be considered as ineligible.
| Emp_ID | Code |
| 812153 | E111 |
| 1035228 | E111 |
| 1038904 | E111 |
| 1140425 | E111 |
| 1088434 | E111 |
| 494987 | E111 |
| 1030577 | E111 |
| 494987 | A111 |
| 812153 | A111 |
| 343023 | A111 |
| 956730 | R111 |
| 1028869 | R111 |
Please suggest me which is the best approach to handle this.
Thanks,
Antony Raj