JBoss Community

How to retrieve the human task result mapping and parameter mapping

created by Odelya Holiday in jBPM - View the full discussion

I defined human task with result mapping and parameters mapping.

 

so:

 

result mapping has value requestData=requestData

 

and parameter mapping has value requestData=requestDat

 

I start the process like this.

 

 

Map<String, Object> parameters = new HashMap<String, Object>();
  parameters.put("requestData", prgoramData);
 
 
  //ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new WSHumanTaskHandler());
 
  ProcessInstance pi = ksession.startProcess("com.mycompany.ProgramAcquisition", parameters);
 

 

in the task list, I get the user task like this:

 

taskClient.getTasksAssignedAsPotentialOwner(userName, "en-UK", handler);
tasks = handler.getResults();
 

 

how can I retrieve the parameter mapping request data from the human task?

Reply to this message by going to Community

Start a new discussion in jBPM at Community