OPA use of Custom Reference Tables
Hi there,
I am working on a Siebel project and we are planning to integrate Siebel with OPA. I have set up the OPA Connector for Siebel and have created a simple workflow which passes some data to OPA rulebase deployed on the Determinations Server (in WebLogic) and then I map the response back to update a record in Siebel. This all works fine.
But I need to know how to return static text back. I was told that you can use Custom Reference tables. Here is the scenario as to what I am trying to achieve:
There will be a list of rules. Each rule will have one or more rule summary and each rule summary will have one decision rationale which holds a detailed description of the rule summary.
So basically I need to write the rules in OPA, and then from Siebel I need to call OPA by passing some input data. OPA should then execute the rules defined, and it should return each rule with all its rule summaries and for each rule summary it should return a decision rationale which is a static paragraph.
I was told that to return the decision rationale, I could use Custom Reference tables but I have no idea how this could work.
Any input from you guys who are the expert on OPA would be very useful, not just about Custom Reference tables but any input as to how I can go about write these rules with this structure: Rule --> Rule Summary --> Decision Rationale
Many thanks in advance,
Regards,
Agron