ProcessServiceQueue fail to find instance from queue
SummaryUser reported that they are seeing multiple "InstanceNotFound", error and PRQueueException are logged in the PegaRules.log file.
Error Messagescom.pega.pegarules.pub.context.PRQueueException: InstanceNotFound Queue SYSTEM-QUEUE-EXECUTIONREQUEST-CONNECT-DEFAULT
Steps to ReproduceNot Applicable
Root CauseA defect in Pegasystems code or rules
The processing mode for few Services is set as Asynchronous, this can leave queue items with status as "Immediate".
Such queue items should be processed separately.
ResolutionPerform the following local-change steps:
1. Create a custom Agent in your application ruleset, similar to “ProcessServiceQueue” in “Pega-IntSvcs” ruleset.
2. Use “ProcessImmediateQueueItems” Activity instead of “ProcessQueue”.
Published May 26, 2017 - Updated July 11, 2017