My Oracle Support Banner

Cannot Create Entity Instance in Compiled Rulebase in OPM 12.2.21 (Doc ID 2823362.1)

Last updated on JANUARY 03, 2022

Applies to:

Oracle Policy Modeling - Version 12.2.2 and later
Information in this document applies to any platform.

Symptoms

After migrating rulebases from Oracle Policy Modeling (OPM) 10.4.7 to 12.2.21 version, unable to add an entity instance to compile rulebase, while debugging.

Error seen in the OPM console:
-----------------------------------
Scope id ent0_0 does not exist in the declared scope


Steps to reproduce the error:
----------------------------------------
1. Migrate custom rulebases from OPM 10.4.7 to 12.2.21 version.

2. Clean up all conversion errors and debug the rulebase creating entity instances to perform initial verification.

3. Integration with calling systems shows the primary entity had lost it's public name.

4. After fixing the problem in the model, compile the rulebase successfully until trying to create entity instances.

5. Upon debugging within the Oracle Policy Modeling Debugger, encountered the following message when attempting to create the primary entity in the rulebase:
"Scope id ent0_0 does not exist in the declared scope".

6. Recompile / re-validate all rule documents (word and excel), there are no outstanding errors with the code base identified by OPM, the rulebase can be constructed as a ZIP file but cannot create the entity in question.

7. Removing the public name does not resolve the issue.

Note: A public name will be required on this entity to enable the client to call the rulebase.


Changes

Migrate custom rulebases from OPM 10.4.7 to 12.2.21 version.

Cause

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
Symptoms
Changes
Cause
Solution
References


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