Unable to open an instance using the given inputs: pxObjClass = "Data-Admin-Operator-ID", pyUserIdentifier = "System" in QP

Hi Team,

I am working on a Queue Processor that contains logic to create a case. The case is being created successfully; however, it is immediately getting routed to the problem flow.

I am using the out-of-the-box activity pzCreateCaseV2Impl, which is provided by Pega as part of the DX API framework. While tracing the Queue Processor execution, I observed that processing fails in the AddAssign activity of the Assign-WorkList class with the following error:

Unable to open an instance using the given inputs: pxObjClass = “Data-Admin-Operator-ID”, pyUserIdentifier = “System”

It appears that the activity is attempting to resolve the operator “System”, but the operator record does not exist. I tried creating a dummy operator with the name System, but Pega does not allow creation of an operator with this name. I also attempted to set pxRequestor.pxUserIdentifier explicitly; however, the same issue persists.

Has anyone encountered a similar issue while creating cases from a Queue Processor? Could you please suggest any alternative approach or a possible resolution for this problem?

Your Queue Processor is creating a case whose assignment routing is attempting to resolve an individual operator, and the background processing context is supplying System as the operator. Can you please check your case design as when it initiates, assignment is routed to Current User. As queue processor is running asynchronously and trying to find System operator which is not available. Try once updating routing to any router where it specifically assign the case to any work queue or specific user.

This behavior is likely related to the Queue Processor running in a background/system context, where there may not be a valid operator context available.

I verified the functionality by routing a case to the designated user during case initiation, and it is working successfully.

Thank you for your response @Dev.Pega007