2 Replies Latest reply on Aug 24, 2012 5:03 AM by Ashley Fernandes

    JBPM5.3 Result Mapping

    Ashley Fernandes Newbie

      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