Support Article
Issue with <CURRENT> in Expression after upgrade to 718
SA-13449
Summary
A decision table using the regular expression function contains the <current> keyword saved and worked in Pega 7.1.7 is no longer saving without error in Pega 7.1.8.
Error Messages
Test compilation failed:
1. ERROR in /Rule_Declare_DecisionTable_PegaCPMI_Work_Interaction_InCorr_DetermineTasks_Action_20150506T142032_711_GMT.java (at line 306)
boolean pz_1 = pega.<java.lang.Boolean>resolveMethodCall("pxContainsViaRegex--(String,String,boolean)", "pxContainsViaRegex", "Pega-RulesEngine", "String", new Object[]{myStepPage.getString(pega, ".CorrBody"), currentProperty.getStringValue(), true});
^^^^^^^^^^^^^^^
currentProperty cannot be resolved
----------
1 problem (1 error)
Compile failed.
Steps to Reproduce
- Login to the application.
- Open a decision table.
- Open the top cell associated to the Conditions column.
- Open the expression builder.
- Try to validate the expression containing the key word <current>, passes.
- Try to validate the expression containing the key word <current-value>, fails.
- Try saving with the condition containing <current>, observe error as mentioned above.
- Try saving with the condition containing <current-value>, saves
Root Cause
A defect in Pegasystems’ code or rules. The correct keyword to use in a decision table is <current-value>, but the expression builder does not view this keyword as acceptable.
Resolution
This issue is scheduled to be resolved in update release Pega 7.1.10
Published August 31, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.