Tag: 19B

Fun with Aliases and Strings #3

Fun with Aliases and Strings #3

In the previous parts of this article (1, 2) we’ve taken the time to look at an amusing string-based manipulation technique which has helped us create a long string from lots of strings. Of course, the main reason for the example was to showcase two of Oracle Policy Automation’s language features, namely logical loops and aliases.

In this final part we will look at some of the downsides and potential challenges relating to strings and logical loops, and a few other things besides.

  1. Inferring instances of an entity to impress your friends

This can go wrong of course. In the current example you must enter the instances manually either in the Debugger or in the Interview itself. But what if you decided to infer them, for example from an Excel spreadsheet. Regular readers will know that we’ve hacked and worked with Excel many times in the past, and it comes as no surprise to us that on a single instance of Oracle Policy Automation, with the instances inferred from an Excel spreadsheet, the following will occur regularly as soon as you get into the 150,200 instance range:

Aliases and Strings Error

Closely followed (of course) by the following in the Interview:

Aliases and Strings HTTP Error

Obviously there are lots of configuration changes we can make on WebLogic (if you have access to it) to ensure we are running the JVM with appropriate memory, in Production mode and so on. But hopefully the point is clear. Inferring instances (large volumes) can be costly in terms of performance / memory.

2) Entering lots of instances manually to impress your friends.

It is worthwhile remembering that logic loops have a 1000 iteration limit – if they cannot be stabilized by then, an error occurs. So assuming you add 1001 instances of the ticker tape manually using the Interview or the Debug, you would expect to hit the logical loop ceiling. Oracle Policy Automation gets out of the loop, just in case it goes on for ever and ever. The easiest way to test this is to use the Test Case format and try out your logical loop with zero to many iterations in order to verify that you are never going to have the scenario where there are more iterations than the limit.

999 InstancesAliases and Strings 999 Cases
1001 Instances
Aliases and Strings 1001 Cases

For the same reason, the warning about logical loops on the Rules Tab : if you do decide to hide it, will you remember it in 6 months time? Have you documented your tests somewhere?

Have fun!

Whats New in Oracle Policy Automation 19B

Whats New in Oracle Policy Automation 19B

It’s here! The latest version of Oracle Policy Automation for Private Cloud is now available for download from edelivery software cloud (or whatever it is called now). Whats New in Oracle Policy Automation 19B?

Whats New in Oracle Policy Automation 19B

Here are some of the highlights of this version.

The New Value() Function

The new function makes it possible to retrieve the language dependent values of a Value List with ease. Consider the following Value List in 19B:

Whats New in Oracle Policy Automation 19B - Value()

And consider the following rules in a Word document:

What's new in Oracle Policy Automation 19B

The first line will returnĀ  the value, and the second line will return the text of the title. We can now return the actual value as well as the text, reliably.

New Deployment Functionality in REST

If you are a REST user in the administrative area, two new elements have been added to the deployment resources – locale and urlParameters. You can now get these in your REST calls.

More Extension Capabilities

If you are working in complex JavaScript extensions, then the following will be of use to you. Now you can retrieve more information about the underlying definition of the fullCustomInput Control extension:

  • getQuestionLayout()
  • getSideQuestionWidth()
  • getMultiLineTextRows()

All of these refer to Styles settings that the designer might have implemented on the original Control so that you can pick them up and work with them in your JavaScript code.

API Warnings

If you created a static metadata connection a long time ago, or built a connector which is long in the tooth, you will now see warnings to remind you to upgrade the connector or risk being caught out by a version which will no longer be supported.

Chat API New Features

The Chat API has moved swiftly since it’s inception just a few months ago. Now we have better input options for users who need to select something, we also have document (attachment) storage capability both in Oracle Service Cloud and other connections, and better access to Chat data.

New UI Language

To my friends in Budapest – the Hungarian UI for Oracle Policy Modeling and Oracle Policy Automation Hub has been released. No parser so far, but at least you can build a custom language and work in Hungarian menus!

Office Support

Office 2019 is now supported and certified.

Summary Whats New in Oracle Policy Automation 19B

What’s New in Oracle Policy Automation 19B – lots of things! Hopefully you (and I) will learn more about these in the Oracle Policy Automation Focus Groups around the world. See you there!

Logo by Southpaw Projects LLC