This content has been marked as final. Show 3 replies
You would have to write something custom here, but its possible to read from a database table.
The best way would be to implement an event handler that fires when an session is created. Then its just a matter of writing the code to access the database, load the reference data and populate it in the session.
There is a perfect example for you.
Have a look at "Example: Create a Rulebase Listener to preload reference data" in the "Oracle Policy Automation Developer's Guide" (http://docs.oracle.com/html/E38272_01/toc.htm).
To get the source code for the examples you will have to download the OPA Runtime from "Oracle Software Delivery Cloud" (https://edelivery.oracle.com)
Product Pack: Oracle Polcy Automation
Platform: Microsoft Windows (32 bit)
"Oracle Policy Automation for Java (v10.4.2) Media Pack", or
"Oracle Policy Automation for .NET (v10.4.2) Media Pack for Microsoft Windows"
The examples should be inside the media pack.