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

Multiple errors occur on creating cases using an Email Listener

SA-90361

Summary



Multiple errors occur when creating cases using an Email Listener.


Error Messages

  1. Role Interested is not defined to the class ORG-DM-CE-CSM-Work-Interaction-Call
  2. Error from DefineEventDataFlow: com.pega.dsm.dnode.api.ExceptionWithInputRecord: Could not save record: The parameter pxEventId is empty
  3. Error from pzGetContextDetails: Unable to open an instance using the given inputs: pxObjClass = "Data-Admin-Operator-ID", pyUserIdentifier = "ORG-DM-CE-CSM-WORK-INTERACTION"


Steps to Reproduce



Create an Email Listener to create cases.


Root Cause



An issue in the Pega and custom application code or rules.
  1. Role Interested is  not defined to the class TCP-DM-CE-CSM-Work-Interaction-Call

    The pzAddIncomingEmailParty activity attempted to add the contact as an Interested party. However, this role was not in the Work Party rule.
     
  2. Error from DefineEventDataFlow: com.pega.dsm.dnode.api.ExceptionWithInputRecord: Could not save record: The parameter pxEventId is empty

    This error occurred because the EventID was passed as Null. The primary page was SpunoffWork. However, the work object had not been committed yet. Hence, there was no pzInsKey at this point.
     
  3. Error from pzGetContextDetails: Unable to open an instance using the given inputs: pxObjClass = "Data-Admin-Operator-ID", pyUserIdentifier = "ORG-DM-CE-CSM-WORK-INTERACTION"

    The error originated from Step 4 of pzGetContextDetails. The Param.Context was set to ORG-DM-CE-CSM-WORK-INTERACTION instead of an Operator ID.

Resolution



Perform the following local-changes:
  • For the error, 'Role Interested is not defined to the class TCP-DM-CE-CSM-Work-Interaction-Call':

    Save the Work Party rule in the application ruleset and add the Interested party role.
     
  • For the below error, 'Error from DefineEventDataFlow: com.pega.dsm.dnode.api.ExceptionWithInputRecord: Could not save record: The parameter pxEventId is empty':

    Update to Customer Service 8.3. The EventDetails Data Transform can be saved in the application ruleset and updated to include the changes to set the EventID.
  • For the error, 'Error from pzGetContextDetails: Unable to open an instance using the given inputs: pxObjClass = "Data-Admin-Operator-ID", pyUserIdentifier = "ORG-DM-CE-CSM-WORK-INTERACTION"':

    The CreateWorkFromMail activity used is in a custom application ruleset. Test with the out-of-the-box CreateWorkFromMail activity and update the custom version as required.

Published March 28, 2020 - Updated December 2, 2021

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