Tuesday Jun 23, 2015

OPA Enablement Programme Update

Rob Bradford | OPA Rules Consultant (Europe)

OPA version 12 has been with us for a few months now, and our products team are continuing to work hard on adding even more exciting features to future releases. As a reminder, this is the first version of OPA that combines the previously separate Cloud and On-Premise versions of the software into one product. Version 12 can be run using:

  • Oracle Service Cloud - where policy models are managed by Oracle Cloud operations
  • Private Cloud - where policy models are managed and deployed in your own estate

Whichever option you choose, you will be able to take advantage of a host of new features, including mobile application support, a re-designed authoring environment, improved control and flexibility around screen design and integrated collaboration and source control via the OPA hub.

Oracle Consulting Services provide a range of enablement courses as part of our OPA SmartSmart Services package, including a brand new OPA v12 Accelerator programme - aimed at people who are already experienced at developing rules in previous versions of the product.

OPA v12 Accelerator - NEW!

Course duration: 2 days

Suitable for rule authors who have previously taken the foundation course for OPA version 10. Covers the following topics:

  • Installing OPM version 12
  • Upgrading existing policy models
  • Navigating the new OPM user interface
  • Working with the hub
  • OPA mobile
  • Designing an interview
  • Screen styling
  • Testing in v12
  • Other new features

Our existing enablement courses have also been updated to incorporate the latest features.

OPA v12 Rule Author Foundation

Course duration: 5 days

Aimed at people who are new to OPA, or existing rule authors who want to refresh their foundation knowledge as well as learning about the new features. Includes updated content and new modules around navigating the OPM user interface, multi-author collaboration via working with the hub, improved interview design, deploying policy models to mobile applications (iOS and Android), using value lists to store reference data and some additional new built in functions.

OPA v12 Rule Author Advanced

Course duration: 5 days

This course is intended for rule authors who are already proficient in the topics covered in the foundation course, and want to take their OPA knowledge to the next level. Includes updated content around the more advanced OPA rule authoring features, such as inferred entity creation, inferred relationships, cross entity reasoning and everybody's favourite - time based reasoning (TBR).

OPA v12 with BI Publisher

Course duration: 2 days

As in previous versions, OPA v12 allows you to generate documents - now referred to as 'forms' - at the end of an interview. This course takes you through the process of creating rich, dynamic forms which can include images, tables and charts.

OPA v12 Testing

Course duration: 2 days

The OPA regression suite now uses Excel spreadsheets exclusively - allowing users to replicate test data and expected outcomes quicker and more easily than within previous versions. This course takes you through the process of creating and maintaining test scripts within v12.

OPA v12 Project Manager

Course duration: 2 days

This course provides Project Managers / Team Leaders with an opportunity to explore the leading practice methods that are used to implement OPA powered systems. Topics include resourcing considerations, estimation techniques, building a project schedule, documentation standards, case studies and tips & tricks.


Our extremely popular rule author assessments are also being refreshed, and it is now possible to take the OPA foundation or advanced rule author assessments using version 12 of the product.

Oracle Consulting Services can deliver enablement programmes either at your premises, or at any of our Oracle offices spread around the country. If required, we can tailor our courses to make them more specific to your project needs - and we can provide any equipment required (laptops with software pre-installed, iPads etc.). Do not hesitate to get in touch if you want to arrange or discuss an enablement programme, or for any further information.

Wednesday Feb 25, 2015

Upgrading to Oracle Policy Modelling Version 12

Max Hill | OPA Rules Consultant (Europe)

Version 12 of Oracle Policy Automation is now upon us and our customers are asking us about upgrading their existing rulebases to the latest version. In this Blog, we will be introducing some of the new OPA features and considerations for upgrading before you do so. At Oracle, we have conducted a number of upgrades already and more than happy to support you in your process so you can conduct the upgrade efficiently and make the very best of all the new features. 

First off, let's look at some of the new features of version 12:

Before you can upgrade to Version 12 you should:

Check for mathematic operators in attribute text. OPM 12 recognises “/, -, +, *, )” next to a space automatically and will assign attributes containing these symbols as multiple separate variables attributes and not single attributes.

If there are a large number of attributes containing mathematic operators then notepad++ or word macros can be used to find and replace all of these on mass. However care must be taken when using these functions, especially with Office 2007 as word documents are stored as binary files which may contain the text string you wish to replace in the file code, replacing this will corrupt the document (Notepad++).

Before Running the Migration Wizard:

Verify that your document will build correctly without errors and ensure you have closed Word, Excel and all other versions of OPM and that none of these have processes running in the background. These may interfere with the migration process.

Opening Project & Running the Migration Wizard:

In the Project tab select “Open Project” and browse to the relevant rulebase (.xprj) file. Once you have opened this the migration assistant will begin. During this process do not open any other versions of Oracle Policy Modelling, use word or excel. Outlook may also cause issues if it is running a word editor in the background. Migration should take approximately 5-10 minutes (depending upon rulebase size). Click “Continue” once Migration is complete.

Once Migration is Complete:

You may have to reassign attribute types that could not be determined automatically. This can be done by checking attribute types against the old rulebase.

You may also have to reassign entity relationships that were determined incorrectly by V12 which are usually the result of ambiguous attribute text.

In some instances spaces may need to be put into calculations otherwise they will not be recognized as such, this is a new requirement in version 12. 

Other things to looks out for are mathematic operators next to each other in Boolean attributes will cause attribute to be assigned as a variable e.g. “()/”. Errors may also arise around incorrect parsing of Booleans (can appear as multiply proven attributes). If miscellaneous errors from migration appear, take a screenshot and contact your manager or the development team. 

Once Migration is Complete:

Finally, once you have fixed all errors in the Data and Rules tabs you can address the Interview errors. Many of these will result from the new way in which V12 manages screen visibility OOTB and no longer includes flows or screen attributes. Screen errors will also arise around entity relationships that were determined incorrectly by V12, verify the correct entities using previous version.

Once you have verified that the rulebase procedure and rule dependencies are the same as in the previous version (before upgrade), the upgrade process is complete.

If you have any queries about upgrading OPA to version 12 then please contact us!

We have OPA enablement courses available in the following:

  • OPA Rule Author Foundation for Version 12 (5d)
  • OPA Rule Author Advanced for Version 12 (5d)
  • OPA with BI Publisher (2d)
  • OPA Testing Tools & Methods (2d)
  • OPA Project Leader (2d)
  • OPA Technical (2d)

Tuesday Nov 18, 2014

Oracle Policy Automation - Services Newsletter - Winter 2014

Welcome to the Oracle Consulting Services Winter newsletter (2014/15).

Please click on the preview below to download a pdf (full) version:

In this issue:

Prince’s Trust

Oracle has just started work on a new Cloud based project to support the development of a new web site and CRM (Customer Relationship Management) system.

OPA Training Update

Our training team has been hard at work preparing new training materials for the upcoming v12 release.

OPA Top Tips & Modelling

Sean Reardon, our longest standing OPA specialist has two sections in this months issue. Some tips on how to optimise modelling performance and how to use OPA advanced features.

OPA X-Gov Update

The OPA UK X-Gov Group is growing with new OPA CoEs announced and events being held later in the Winter.

Upgrading OPA

We have started to use the new product (internal preview release) to migrate and upgrade projects from v10 to v12. Max Hill from our team describes the steps taken so that we are ready for the big day.

Friday Jul 25, 2014

Rule loops in OPA rules

Rob Bradford | OPA Rules Consultant (Europe)

As any experienced rule author will know, OPA automatically runs through a series of logic checks each time a policy model is built. One of these checks is for self-referential rules, or to put it another way rules that are proven by themselves – the logical loop check. In rare situations, usually when writing complex rules involving time based reasoning or multiple entity instances, it may be necessary to implement a controlled logic looping situation.

First introduced in OPA version 10.2, rule loops allow you to overcome the problem of rules which loop back to different instances in the same entity by defining a rule as an allowable loop, allowing the rules to validate past the logical loop check.

Loops using entity instances

The following fictitious example shows an example of a 'valid' rules loop using different entity instances. The source material states:

"a person can be a UK passport holder if they meet the qualifying criteria, or if any of their parents are eligible for a UK passport."

The rules highlighted in the red boxes below cause a logical loop upon build, however in this case the logic is correct.

To implement a rule loop in OPM, first highlight the rule. Then use the Rule Properties Editor (ALT + P) in the Word toolbar, and tick the Rule Loop checkbox:

The policy model now passes validation, and is logically sound. In the following interview, Tom has been identified as Sarah's parent. Tom has been in the UK for 30 years with no criminal record, therefore qualifies. Even though Sarah does not qualify on her own accord due to the length of time spent in the UK, the fact that she has a qualifying parent means she also qualifies.

The decision report within Oracle Web Determinations shows that Sarah qualifies on the basis of her parent, Tom:

You may have realised that the way these rules have been written, even if Tom was not suitable, he may himself have a parent who qualifies - which would make Tom, and therefore Sarah eligible. Following this sequence through, it would mean anyone with a qualifying ancestor would automatically be eligible themselves.

In this example we can assume this is the intended behaviour - but it is essential to consider where the loop could, and should end. This is sometimes referred to as identifying the exit condition.

Loops using temporal reasoning

Loops can also relate to an attribute's value at different points in time, rather than different entity instances. Consider the following logic:

"An applicant will be treated as qualifying for the benefit continuously if they have been out of the country for less than 7 days, and at the time they left the country, they qualified for the benefit"

Again, we are looking at a different instance (this time on the temporal timeline) of the attribute, but OPA will identify 'the applicant qualifies for the benefit' as a loop. Specifying the attribute as a rule loop, using the method shown above can allow the rules author to overcome this.

Consider the following worked example:

  • John's benefit period runs from 1 Jan to 31 Jan 2014 (all dates inclusive). He satisfied the income criteria to qualify for the benefit throughout the month, apart from one period between 18 Jan and 20 Jan, where his income was too high.
  • John was out of the country from 6 Jan to 16 Jan - a total of 11 days. As he continued to meet the income criteria, and qualified for the benefit the day before he left, he was entitled continuously for the first 7 days of his absence.
  • On 13 Jan, John had been out the country for more than 7 days, so became ineligible.
  • When John returned to the country on 16 Jan, he became eligible again - until 18 Jan when he did not satisfy the income criteria.
  • On 19 Jan, John left the country again until 23 Jan. Although the absence was less than 7 days, and he met the income criteria from 20 Jan, he was ineligible throughout the entire absence because he was not eligible the day before he left.
  • When he returned to the UK on 23 Jan, he became eligible again. In total, he was eligible for the benefit for 23 days out of the 31 day period.

Final points

  • Careful consideration should be given before implementing rule loops, as incorrect use can result in rules that can never be proven. If you are not sure, ask an OCS consultant.
  • The logical loop check is there for a reason! You should only use this feature if you are sure there is an exit condition. If the loop is not controlled, then the OPA rules engine will keep going around and around until it eventually stops with an error.
  • It is very important that the rules are tested thoroughly to avoid any unexpected behaviour.
  • If the loop encompasses multiple rules, each individual rule must be configured separately.

This blog is brought to you by Oracle Consulting Services. Further details about OPA enablement, coaching and mentoring services can be obtained by contacting the author.

Tuesday Jul 01, 2014

Allowing Discretion in OPA Rules

Matthew Bickham | OPA Implementation Manager (Europe)

The purpose of a policy model is to make decisions on your behalf, often applying complex sets of rules. A lot of work goes into automating the decision making process so that every decision is fair, consistent and traceable. So why on earth would you want to allow a ‘human’ to over-ride this decision? There are times when some human involvement is desirable because to automate all aspects of the process may not be practical - a policy model can only make a decision if it has all the rules it needs. Examples where some discretion might be required include: medical diagnosis, staff promotion, bonus payment, application for a grant and travel approval.

Allowing discretion in rules must be carefully thought through. A policy model should always be allowed to arrive at a decision itself where it is possible for it to do so. If permitted, the rules must be modelled to clearly state discretion has been applied, and the decision report as a consequence must reflect this.

The following fictitious example provides a simple illustration of how two areas of the rules have been constructed to allow the user (a Deciding Officer) to over-ride the automated decision.

A policy model has been authored to determine whether an applicant has a Centre of Interest in Atlantis based on a number of criteria. A decision can also be based on answers provided by a Deciding Officer. A positive decision will impact an applicant’s ability to receive certain government related payment credits.

Discretion Rules

Rules to provide discretion have been modelled in Sections 1 and 3 as highlighted by the red boxes. If the applicant’s family members are not located in Atlantis, the Deciding Officer is provided with the option to over-ride the decision.

The Deciding Officer is also able to over-ride the overall decision at the end of the assessment using a similar procedure. If the system determines that the applicant’s Centre of Interest is not in Atlantis, then it is possible to over-ride this and add other factors which might be important to the determination.

It is possible to limit the ability to over-ride and use discretion on the rule decision to a limited number of end-users (i.e. Senior Deciding Officers). In this example however, all users are provided with this opportunity. Any reasons for granting discretion must be entered by the Deciding Officer during the assessment, and these are saved as part of the interview. The journey for the user commences with the Summary Screen, which provides an introduction and a link to start the assessment:

Personal details are entered on the next screen and then the user is presented with a series of questions based on the rules to determine the applicant’s Centre of Interest:

If the user answers ‘no’ to the question relating to the close family members, the policy model contains rules to allow for discretion at this point. The Deciding Officer is provided with an option to state whether other factors should be taken into account:

The Deciding Officer is required to enter other factors which they believe should be taken into account for this assessment in a free-text format:

The policy model checks the reasons have been entered, but does not investigate whether specific factors are relevant or valid. Rules can be created to allow the user to select from pre-defined lists of options prior to this to categorise the discretion more tightly. In this example the discretion is more open.The Summary Screen is displayed and the determination is presented:

Whilst the decision is positive for the applicant, the Deciding Officer is reminded that discretion has been applied. Selecting the ‘Why’ link displays the decision report, which shows the decision was made with discretion applied by the Deciding Officer:

A record of the reason for discretion is then stored within the session case file, that is then saved and stored in the host application.If the policy model determines that an applicant does not have a Centre of Interest in Atlantis, the rules will provide an option for the Deciding Officer to use discretion and over-ride this decision as well:

In summary, the ability to over-ride a policy model decision should be treated with care. In some circumstances, factors may impact a decision where it is not feasible to model them in rules.In all cases, allowing the policy model to automate the decision making process should be considered by default. This Blog is brought to you by Oracle Consulting Services. Further details about OPA enablement, coaching and mentoring services can be obtained by contacting the author.

Wednesday Jan 08, 2014

Building an Oracle Policy Automation Center of Excellence

Matthew Bickham | OPA Implementation Manager (Europe) & Center of Excellence Facilitator


We all know Oracle Policy Automation (OPA) enables business experts to be able to create sophisticated rulebase applications directly without the need to have a background or qualification in software development. The diagram below provides an overview of the steps that are normally conducted to build an OPA rulebase:  

Business rule authors are critical to every project and to wrap them into a structure, I always encourage customers to establish a Center of Excellence (CoE) where talent, skills, processes and disciplines are centrally governed within a business. Whilst business experts may not initially have the skills to build software, the CoE approach provides everything needed to grow capability and confidence in authoring rules and systems that significantly outweighs any nervousness that may have existed at the outset. This is very important because initially not all organizations are ready to take the leap of faith needed for business experts to play a more development role. For those that do, there are significant rewards. Just some quotes from our CoEs:

“OPA is the most innovative technology on our estate”

“OPA has paid for itself 7 times over and that is just with our first project!”

“OPA is a game changer. We would never have been able to achieve what we have done using any other method or technology”

OPA Projects

Any project is often born through a business need to build a system to meet a brand-new requirement. In terms of OPA this will mean that a project will include a requirement for a system to automatically make a complex decision on behalf of the organization using rules and building a customer experience friendly interview that will include assessment screens, smooth screen-flow, data validation, look-ups (of known data) and documented outputs of the rulebase determinations that are made.

Projects are normally resourced to meet the needs of the project and formed based on the availability of key people, timelines to deliver and scope of the project work. Given these variables, a lot is left to chance and luck. Rulebase resources may require initial training but there is a tension to deliver in an agile way and this needs the team to be properly trained, experienced and ready to start creating rulebase components from day one. Forming a brand new project team for every project is very difficult given issues with availability of key experts. A much better approach is to build a Center of Excellence that maintains skills and grows capability so that with every new project the team grows in strength.

The Benefits

An OPA CoE addresses start-up issues because every project is safely delivered within a structure that already has the capability and skills to deliver a project from the beginning. It will contain a pool of resources at various skills levels. Senior members of the team will evolve through experience and lead areas of work including rules architecture, test management, project management and technical architecture. The CoE is special in that it is business centric but includes IT team members who must connect and manage the integration between OPA and other systems. This enables the business authors to remain focused on delivering projects using their skills to the full.

So why is an OPA Center of Excellence any different to any other CoE? The key difference is that the CoE is business focused with more Subject Matter Experts involved more directly with building and testing rulebase components than ever before. This is not only limited to rule authoring. Those involved in testing utilize tools within OPA itself (regression tester, what-if analysis, test coverage reporting etc) to verify rules directly, safely navigating rules and components at a read-only level. Powerful test suites are developed by business experts directly into a rulebase and each key outcome is tested against manually created expected outcomes. The business expert has responsibility for this work and has proven to significantly reduce the time to develop and test solutions, not leaving all the testing effort until the end. In addition, our customers report that defect-free systems are commonplace with OPA after initial implementation because the experts in that area of the business were more intimately involved in the authoring and testing process throughout. Due to OPA’s unique natural language capability, rules are easily read and understood by testers and other members of the team and this is one of the key factors in its success.

Becoming an OPA CoE

There is a process to becoming an OPA CoE. Oracle has assisted many organizations build their structure and capability which establishes a robust model for the successful delivery of projects that utilizes OPA in the future. To start, a Center of Excellence requires management and governance to control, direct and prioritize the work that is conducted. For most, this is led by a business manager with skills to manage resources across projects and business areas. Next, there is organization and structure to the Center of Excellence. For the resource teams, training and a qualification in OPA is achieved to an advanced level to ensure that the team members are fully skilled to successfully deliver projects with the product. A skills matrix is formed and a detailed record is kept of the skills attained as the experience of each member of the team grows. A CoE will also want to be known within the business and a communication plan is created to inform internal and external stakeholders about its purpose and vision. Other criteria exist to achieve recognition and includes adherence to best practices design standards, rule authoring guidelines and the control of rules within a configuration management system.

For all OPA CoEs there is now access to an exclusive online Oracle work-group that allows for greater sharing of knowledge, promotes decision of OPA related topics and provides valuable information about forthcoming events.


The OPA CoE approach has provided many OPA customers with a valuable structure and focus that has truly maximized the use of the technology and has built a strong team around it. ‘Growing your own’ OPA capability is part of the whole ethos behind the application and true value has been achieved when our customers have taken this best practice approach.  

Please get in touch if you would like to find out more.

Wednesday Sep 25, 2013

Welcome to the Oracle Policy Automation Blog

Welcome to the OPA blog where we aim to give you a range of perspectives on everything OPA. If you have any topics you would like to see addressed, please leave a comment here or post them to the OPA Community Forum

Happy reading! 


Welcome to the OPA blog where Oracle's Policy Automation experts share their views on everything OPA.


« July 2016