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

Not able to run custom agents

SA-4446

Summary



Created a number of custom agents and these fail to process work. The error indicates that the flow is trying to open the operator "System" which does not exist.

Error Messages



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


Steps to Reproduce

  1. Create a custom agent.
  2. Have the agent perform an assignment on a work object in a flow.
  3. Configure the next flow shape to route the assignment to current operator.
  4. Observe that you receive the above error.

Root Cause



The root cause of this problem is a defect in customer application code/rules. Routing to current operator works fine in flows when there is an operator logged into the requestor. Things like agents, which aren't authenticated use system. Since the system has no worklist and can't be assigned work, routing work to current operator from an agent is not allowed.



Resolution



Changing the flows to route to a specific named operator or a workbasket instead of routing to current operator resolves the problem.

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?

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