Hi,
On Task completion, my Result is not getting mapped back to a Process Variable.
Code
Map<String, Object> params1 = new HashMap<String, Object>();
PartyOnBoardingObjectJ partyOnBoardingObjectJ1 = new PartyOnBoardingObjectJ();
partyOnBoardingObjectJ1.setStage("INTIATION COMPLETED");
params1.put("partyOnBoardingObjectJ1", partyOnBoardingObjectJ1);
taskService.completeWithResults(task.getId(), "john", params1);
Screen shots
1. Process Variables
3. Script Task+Console Out