Another Major Oracle Policy Modeling Enhancement – Custom Functions

It’s funny to hear some customers complain that Oracle Policy Modeling “isn’t being invested in, isn’t being developed”. Frankly that’s just nonsense – all you have to do is look at the release schedule and the enhancements in performance, integration with Decision Services, search tool in the last few releases to see that this is a product that gets some serious love. And to prove this point, along comes a much-awaited feature in 24A, monthly update two – Custom Functions.

The basic concept is very simple – custom functions in Oracle Policy Automation give the ability to name and devise a function, that can then be called by name, by different entities and attributes. You’ll know it when you see it:

The idea, as always, is presented simply but is very powerful. Note that Custom Functions are shown on the Data tab, because in a sense they behave a bit like entities but with some extra properties. And they have the potential to enhance your projects in many ways. To quote the documentation:

“This allows logic to be shared across rules where the same calculation is needed. They can also be shared across projects by placing them inside an inclusion, and an inclusion could contain any number of custom functions, allowing a library of functions to be created.”

Creating a function allows you to define the name (short) and the “entity text” associated with it, as well as the inputs and the output of your custom function. Note the inputs and outputs use “the age function…” so they are considered part of this special “entity”.

Custom Functions in Oracle Policy Modeling 24A

The custom function above is called “age” and has one input of type date, representing the date of birth, and the output is the age as a result, of type number.

Now all that remains is to define the rules that make the function to what it is supposed to – so here is a rule – note the use of the age function date of birth and the age function result to connect with the definition above.

Once the function is ready then it can be used, as you would expect, like this:

This potentially opens so many doors to libraries of functions, optimised rule documents and more. I can honestly say that this one is a big game-changer.

Author: Richard Napier

After 8 years in case management and ERP software roles, Richard Napier joined Siebel Systems in 1999 and took up the role of managing the nascent Siebel University in Southern Europe. He subsequently was Director of Business Development and Education for InFact Group (now part of Business & Decisions) for 8 years. He now runs Intelligent Advisor IT Consulting OÜ. Owner of intelligent-advisor.com, he also is Co-Founder of the Siebel Hub.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Intelligent Advisor IT Consulting Serving Customers Worldwide
Hide picture