This content has been marked as final. Show 2 replies
I might be the only one, but I'm not sure what you're trying to do.
I understand that you're using ADF and want to invoke a business rule, but you might want to go into a little more detail about your use case. Know this is probably frustrating and again - it might be just me, but I'm finding it tough to understand the business problem you're trying to solve just from the "field1" and "field2" and "A" and "B" in your description.
Lets say i have two attribute 'Product Code' and 'Department id'.The relationship between the two attributes is defined in Oracle Business Rule.
If Product Code is '111' then Department is 'Finance'
If Product Code is '222' then Department is 'Inventory'
The values for each of the attribute is defined in a database
Product Code Table
222 Current Stock
Finance Handles Payroll
Inventory Handles Packaging
I am displaying these two attribute on the ADF UI as dropdowns. If I select '111' from the product code dropdown then the value in Department dropdown should automatically be set as 'Finance'.I need to trigger the validation/relationship between the attributes from business rules.
The reason for keeping the relationship in rules is because business wants to change these relationships at run time.
Hope the scenario is clear to you.