Question

1
Replies
116
Views
AnnaA890 Member since 2014 2 posts
Cigna
Posted: 2 years ago
Last activity: 2 years 8 months ago
Closed

Function resolution at compile time as well as runtime

This question is regarding function resolution and libraries at runtime.

We have 2 applications. Application "A" and Application "B" have shared Framework Rulesets.

We needed 2 version of the function and hence we have overridden the function "X" in one of the framework RuleSet -"R". While overriding the function, we only changed the java content and the library. Function Signature was not changed.

Application "A" refers to the RuleSet which has only Pega's OOTB version of the function - "X".

Application "B" refers to the framework RuleSet which contains the overridden version of the function.

Now Application "A" rule is not compiling. It is throwing an exception that it cannot find function "X" in library (refers to the overridden function).

Why cannot it find the OOTB version of the function in Application "A"? Application A does not refer to RuleSet "R".

Libraries are not versioned whereas Functions are. Is this causing this behavior?

Low-Code App Development Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn