My Oracle Support Banner

Oracle Fusion Learning Cloud: Learning Request Approval Rule For Non-Catalog Learning Request Is Failing (Doc ID 2585682.1)

Last updated on MAY 18, 2021

Applies to:

Oracle Fusion Learning Management Cloud Service - Version and later
Information in this document applies to any platform.


Approval Rules have been configured which act differently depending on whether the learning request is for catalog or non catalog learning.

The goal is that when a catalog learning item is requested, it goes to the line manager to approve, but when a non-catalog learning item is requested, it is automatically approved (self auto approve).

For example the following 2 rules have been created from:

A) Rule to handle when the Learning Item type is from the catalog:

Name: LearningRequestNoAutoApproval
Rule: ((1 == 1) AND (Learning Item.result.coAttribute1 contains "No") AND (Learning Item.result.Learning Item Type != "ORA_NON_CATALOG"))
Then: management hierarchy

B) Rule to handle when the learning item type is a non catalog request:

Rule:((1==1) AND (Learning Item.result.Learning Item Type == "ORA_NON_CATALOG"))
Then: Self Auto Approve

However, when non-catalog learning is requested as follows:

Instead of being self auto approved, it's failing with a fault in the backend:

Attempted to invoke method "contains" in class "java.lang.String" on a null object reference. at line 15 column 13 in /Ruleset(LearningRequestApproval)/Rule(LearningRequestNoAutoApproval)/Pattern(v0_Task)/Test[4]


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.