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
- Create a custom agent.
- Have the agent perform an assignment on a work object in a flow.
- Configure the next flow shape to route the assignment to current operator.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.