Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

IndeterminateConditionalException

SA-2216

Summary



User is getting following error in log file:

com.pega.pegarules.pub.runtime.IndeterminateConditionalException: ** @PropertyHasValue(tools, ".CurrentCustomer.ShareOfWallet") null
at com.pega.pegarules.priv.FUAUtil.activityPreTranIndeterminateConditionalCheck(FUAUtil.java:396)

Error Messages



[8/27/14 23:58:42:777 MST] 00000043 PRBootstrap E com.pega.pegarules.internal.bootstrap.PRBootstrap Problem during method invocation (invoke)
java.lang.Error: Java service [CTILinkEvent][CiscoCTI][CallDeliveredEvent] failed:com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:683)

Caused by: com.pega.pegarules.pub.runtime.IndeterminateConditionalException: ** @PropertyHasValue(tools, ".CurrentCustomer.ShareOfWallet") null
at com.pega.pegarules.priv.FUAUtil.activityPreTranIndeterminateConditionalCheck(FUAUtil.java:396)
at com.pegarules.generated.activity.ra_action_mappreclipboardcachectidata_de52beb0bdb8ec2780de6afdd25ae5f1.step1_circum0(ra_action_mappreclipboardcachectidata_de52beb0bdb8ec2780de6afdd25ae5f1.java:422)




Steps to Reproduce



1. Call the OOTB function "PropertyHasValue" in the when part of the pre-Condition of an activity step.
2. The input to the function should be a property that should not be there in clipboard at run time.
3. Run the activtiy standlone and you would see this error in the front end as well as in the logs.

Root Cause



The root cause of this problem is a defect in customer application code/rules.


Log and code analysis "-

Java code where the error is thrown :- ( Compiled Java of the activity )

catch (RuntimeException anyException) {
                    oLog.error("Exception caught while evaluating when",
                            anyException);

                    throw new IndeterminateConditionalException(
                            "@(Pega-RULES:Utilities).PropertyHasValue(tools, .Country) "
                                    + anyException.getMessage(), anyException);



A NullPointerException was being thrown (as the page was not present on the clipboard) just before the forceful throw of the IndeterminateConditionalException.



Resolution



This issue is resolved through the following local change: 


Add a precondition to the activtiy.

RUF reference :- @(Pega-RULES:Default).PageExists("<PAGENAME.PROPERTYNAME>")
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us