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

Failed to find instance @baseclass.CloseWorkItem during WrapUp



End user have reported that they were getting "Failed to find instance @baseclass.CloseWorkItem of type Rule-Obj-Activity" exception sporadically on screen while performing Wrap-up of an Interaction.

Error Messages Failed to find instance @baseclass.CloseWorkItem of type Rule-Obj-Activity.
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getClassSource(
at com.pega.pegarules.generation.external.assembly.Assembler.getClassSource(
at com.pega.pegarules.generation.internal.cache.FUACacheImpl.assembleRule(
at com.pega.pegarules.generation.internal.cache.FUACacheImpl.buildAndOrLoadJavaClass(
at com.pega.pegarules.generation.internal.cache.FUACacheImpl.findInner(
at com.pega.pegarules.generation.internal.cache.FUACacheImpl.find(
at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.getInternal(
at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.get(
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(

Steps to Reproduce

RuleNotFound exception on screen when the Wrap-Up of the Interaction was performed.

Root Cause

Rule Not Found: Rule-Obj-Activity @baseclass.CloseWorkItem

For diagnosing the issue, end users were unable to provide the Fiddler trace or Tracer dump for the non-working scenario. In the working scenario, this activity was not called however in the non-working scenario, an unexpected call was made to this activity CloseWorkItem.


Local-change was proposed which helps overcome issue - create an activity (CloseWorkItem) with applies to class as @baseclass in the custom application ruleset with authenticate unchecked and “May Start” option checked. This activity would have no steps and do nothing -- it merely stops the error from breaking the flow.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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