Overview
We first check to see if the constituent has the VIP constituent code. Since it is not possible to test for the lack of an attribute directly we must check to see if the constituent has no attributes. If they have no attributes or if none of the attribute categories are “Origin” then we display an error message.
1 | Create the following dependency rule: A constituent doesn’t have the “Origin” attribute category |
| 2 | Set the criteria. The rule is applied to one or more constituent attributes because we only want there to be one or more origin attribute s(the alternative is that the record just consists of origin attributes which would be incorrect): | |
3 | Create the main rule: Constituent is a VIP. This final rule contains the previous two as dependencies. It is applies its rule to one or more constituent code (again there is no requirement that all constituent codes be VIP or that VIP is the only constituent code) | |
4 | Add the criteria. | |
5 | Add the previous rule as a dependency. | |