You’ve registered and joined the OPA Hub Website, where our goal is to be the best Community website about Oracle Policy Automation. You are already one of 520 people here who have a shared interest in Oracle Policy Automation. Welcome aboard! Ask a question, make a comment, get involved!
Now, take a moment to answer this question : you can enter as many times as you like AND the first 5 winners will win the new edition Getting Started with Oracle Policy Automation , due out in January 2019. If you are not interested of course, please feel free to browse the site.
Below is a project written in Oracle Policy Automation 12 (this was actually in 12.18B but it has no bearing on the example). It has only one attribute : the date of the next visit. This is written as follows:
The date of the next visit= YearEnd (AddYears(the current date;1))
The date you are running the Debugger, the current date is November 19, 2018. The rule should perform a simple assignment, taking the current date, adding a year and then using that as the input for the YearEnd function. So :
YearEnd(November 19, 2019)
The date is incorrectly showing 12/31/20. So what is happening here? Even more fun, the Data tab of the Debugger shows the following:
The value is correct on the right, wrong on the left. So what has happened to the Oracle Policy Automation project in this example?