0 Replies Latest reply on Jan 25, 2011 10:59 AM by odelyaholiday

    How to retrieve the human task result mapping and parameter mapping

    odelyaholiday

      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?