JBoss Community

JBPM5.3 Result Mapping Issue + Getting Task Input Data

created by Ashley Fernandes in jBPM - View the full discussion

Hi,

 

Problem 1

 

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);

 

ubsequent to this , i assigned partyOnBoardingObjectJ1=temp

temp is coming as null in a script task

 

Problem 2

how do i get the input payload (parameter mapping) of a Task? (via taskService APIs)

Reply to this message by going to Community

Start a new discussion in jBPM at Community