pxTransferAssignment error
I’d like to transfer a case to another workbasket.
The application design does not have an option in the portal / UI for this, so I need to do it in Dev Studio.
I’m trying to use pxTransferAssignment, but keep getting the following errors (I’m tracing it), and can’t work out why it doesn’t like the Assignment ID I’m giving it.
The Assignment ID, I’m getting from opening the case in Dev Studio, looking at the clipboard, then getting the pzInsKey from pyWorkPage
I had to redact the actual pzinsKey for security but that’s what was written here
I did notice this additional message in the tracer…
ProblemAssignment_InvalidAssignmentHandle MY-CLASS-STRUCTURE CASENUMBER
I’m setting the Parameters as follows:
AssignmentID – pzInsKey of case
I’d like to transfer a case to another workbasket.
The application design does not have an option in the portal / UI for this, so I need to do it in Dev Studio.
I’m trying to use pxTransferAssignment, but keep getting the following errors (I’m tracing it), and can’t work out why it doesn’t like the Assignment ID I’m giving it.
The Assignment ID, I’m getting from opening the case in Dev Studio, looking at the clipboard, then getting the pzInsKey from pyWorkPage
I had to redact the actual pzinsKey for security but that’s what was written here
I did notice this additional message in the tracer…
ProblemAssignment_InvalidAssignmentHandle MY-CLASS-STRUCTURE CASENUMBER
I’m setting the Parameters as follows:
AssignmentID – pzInsKey of case
DestinationType – Workbasket
DestinationName – Name of WorkQueue Everything else is unticked / false apart from Commit, which is true/ticked
I was also wondering, how to find out what a valid parameter value is for DestinationType? Even though I’m sure it’s correct (having seen other posts and the description of the Parameter), I wanted to see where the valid options are so I can be sure.
The Parameter description says Type of destination Worklist (Operator Id) or Workbasket
...which initially led to me think it needed the Operator ID, instead of the string ‘Workbasket’. Otherwise perhaps Operator ID is just required if it’s a Worklist?