JBoss Community

JBPM5.3 Result Mapping

created by Ashley Fernandes in jBPM - View the full discussion

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

 

Reply to this message by going to Community

Start a new discussion in jBPM at Community