Re-assign Screen flow to another user

Hello there,

We have a requirement where we need to move the screen flow assignment to another user. We moved the assignment to the new operator succesfully implementing a local action which moves the assignment to the current operator using pxTransferAssignment. But when the operator submits the screen. the next assignment goes back to the previous operator that was assigned. We have tried the following suggestion.

We are modifying the DefaultAssignTo in the post processing activity of the local action that moves the assignment to the current operator (AssignToMe). But when the assignment is open the pyFlowParameters specifically the DefaultAssignTo and AssignTo properties get refreshed and have the value of the old operator.

Thanks in advance.

This may help:

It says this is fixed in 8.3.2, but shows how to over-ride the issue. But I think that I would not use pxObjClass as your flag - I would use a property that I create and have full control over, and which will not create other side effects in Pega.

@jorgep75

Hello, while transferring the assignment set the below fields and post this, it would route all the assignments to newly routed user.

This fields can be set in the local action post processing activity which is transferring assignment. Note: after the updating the values these needs to be persisted onto pyworkpage.

  1. .pxFlow(flowName).pyFlowParameters.AssignTo = reassigning operator id
  2. .pxFlow(flowName).pyFlowParameters.DefaultAssignTo = reassigning operator id

flowName is the name of the screen flow on which routing is being changed, this can be fetched from newAssignPage.pxFlowName.

Hope this helps.

Thank you.

Thanks Anil. This option would assign the entire rest of the flow to the new person, as opposed to just the one assignment. Correct?

@TALBJ yes, it would assign rest of screenflow to new operator.

@vanaa Hi, I have a similar requirement but it needs to go from a workbasket to a worklist, the above steps seem to work but when it goes to open the next assignment it goes to broken process as it’s still looking for a workbasket. is there any way to change it to Assign-Worklist instead of Assign-Workbasket?