Posted: 15 Nov 2016 13:01 EST Last activity: 30 Nov 2016 10:14 EST
Open an Assignment on click of a button in perform mode
On a click of a button -Assignment should be transfered to his worklist and and assignment should open in Perform Mode.
I configured button to call pxTransferAssignment OTB Activity and I am able to tranfer the Assignment to his workList,but when I used on click event -OpenAssignment(handle) the assignment is opeing in Review harness and not in Perform harness.Is ther anyway where I can specify the name of harness while adding on click event "OpenAssignment(handle)"
I believe when you are using openAssignment and you are allowed to perform the assignment, the WO shall open in the Harness configured on the assignment. Make sure the harness is specified on the assignment. If no harness is specified, assignment will be opened in review harness.
There is no provision to specify the harness for openAssignment action of GetWork.
Also if the Case has multiple active assigments, it may open in review harness.
The scenario is on click of a button present on the WorkBasket List of assignments.On click of the button the assignment should transfer from WorkBasket to the Operators WorkList and also should open the assignment in Perform mode.
So I am adding 2 events on the click of button.The first one is running an Activity to transfer to the work list(this is working well) and the second event is OpenAssignment(handle).I got the error of popup saying "Empty Assignment Key" To resolve this issue i refered to the following PDN Link: https://pdn.pega.com/support-articles/empty-assignment-error-pop-clicking-worklist-assignment I got rid of this popup but the assignemnt is opening in Review harness but the requirment is that it needs to open in Perform harness. Can you please suggest a way to get it accomplished.
On click add an event refresh other section and mention the harness name(perfrom harness). on click of submit first it execute the trnasfer assignment activity and refresh section and loads perform harness.
There is change in Requirment where a popup(giving option to Open Assignment) should be displayed on click of button.Here in PreAction of Flow Action Activity to transfer is performed and on click of the button on Model window(Open Assignment Action is performed)..When a Model Window is used it is opening in Perform harness and working as expected..Thank you..