5 Replies Latest reply on May 12, 2011 2:50 AM by cheney-dut

    Use of process variables after a startProcess


      When I call a process, I pass a Hahmap object as the startProcess parameter, e.g.,


      Map<String, Object> params = new HashMap<String, Object>();

      params.put("Object 1", obj1);

      params.put("Object 2", obj2);


      ProcessInstance pi = ksession.startProcess("com.sample.Hello", params);



      After calling a process, I'd like to use process variables (e.g., response) from the process. How does the process the pass process variables back to the caller, so the caller can use variables which were created or modified in the process.