Support Article
Not able resolve a case as the UpdateStatus Activity is failing.
SA-60164
Summary
HFix-37344 is imported to Pega 7.2.2 which has rule changes on the 'Resolve' activity of the 'work-' Pega-ProcessEngine:07-10-25 ruleset to Pega-ProcessEngine:07-10-28 with a few changes in the activity.
Post update to Pega 7.3, unable to resolve a case using the new 'Resolve' activity of Pega-ProcessEngine:07-10-28. During the update, the Pega-ProcessEngine:07-10-25 version is not ported to Pega 7.3. Hence, unable to use Pega-ProcessEngine:07-10-25 version activity (base rule).
Error Messages
Failed to compile generated Java com.pegarules.generated.activity.ra_action_resolve_adad8b71d45119fa03d1fcdf8876c3ad: ----------
1. ERROR in /com/pegarules/generated/activity/ra_action_resolve_adad8b71d45119fa03d1fcdf8876c3ad.java (at line 1146)
cpOpenResult = tools.getDatabase().openIfStale(myStepPage, true, true, true, null,false,true,true);
^^^^^^^^^^^
The method openIfStale(ClipboardPage, boolean, boolean, boolean, StringMap) in the type Database is not applicable for the arguments (ClipboardPage, boolean, boolean, boolean, null, boolean, boolean, boolean)
----------
1 problem (1 error)
Compile failed.
Steps to Reproduce
- Update from Pega 7.2.2 to Pega 7.3.
- Resolve a case. Check the Tracer.
Root Cause
Resolve activity includes changes that contain the openIfStale Java method with a new set of parameters (8) in Pega 7.2.2 and Pega 7.4. However, in Pega 7.3, the overloaded method is not present and the base version of the rule is in 7-10-25. The issue occurred because the rule was present in 7-10-28 (due to the existence of the earlier hotfix).
Resolution
Apply HFix-44969. Pega-ProcessEngine 7-10-25 is saved to a higher ruleset (7-10-32 for Pega 7.3 hotfix).
Published August 24, 2018 - 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.