Can we transfer assignment from Modal Dialog?

Hi,

I know we can transfer assignment from local action. For example, if we use OOTB pyTransferAssignment flow action as a local action, it works fine.

  • Set pyTransferAssignment to the Assignment shape in a flow rule

  • In runtime, select pyTransferAssignment from Actions menu

  • Select destination operator ID

  • Assignment is successfully transferred

My question is if it is possible to do the same from Modal dialog. Ideally I want to make my own flow action. For now, I just tried OOTB pyTransferAssignment, but nothing happens.

  • Set pyTransferAssingment flow action as a Modal Dialog

  • In runtime, nothing happens..

Can someone please give a logical explanation why assignment is not transferred when we use Modal Dialog? What is the alternative approach to achieve this requirement?

Thanks,

@CloeW938 Can you please have a look at below article https://community.pega.com/support/support-articles/unable-transfer-assignment-worklist-workbasket

Hi @setha1,

Thanks for your reply. Per above URL, I configured it as below but still nothing happens.

My expectation is that Perform mode is gone and Confirm harness is displayed instead. I am suspecting if it is really possible to do this with the main screen still remains under modal dialog. For example, if I choose “Replace Current” instead of “Modal Dialog”, it works fine. Or should I do some kind of Refresh operation? I tried “Refresh this section” action after Local action but no change..

Thanks,

@CloeW938

pyTransferAssignment is either supported as local action on assignment or if its configured as a local action with replace current on a button it would work. Currently it doesnt support as a modal dialog.

Post transfer of the assignment, the current user wouldnt be able to work on that assignment as its transferred. due to this post submission of modal dialog , we shouldnt display the same assignment in background. So replacing the current is way to address this. Even for few other flow actions like change stage, its not supported as modal dialog as the context of the actual assignment gets changed post this action.

Thanks.

@vanaa

Thanks for the explanation. I understand it is not possible to control UI on background. I will use “Replace Current” to achieve this.

Thank you!