3 Replies Latest reply on May 10, 2011 10:11 AM by kathy89

    pass actorids from processtest.java

    kathy89

      hello everyone,

       

                       i'm executing the sample process evaluation.bpmn with 2 new variables #{hr} and #{pm} and i'm initializing the variables in the processTest.java as

       

      ...

      params.put("hr","mary");

      params.put("pm","john");

      ksession.startProcess("com.sample.evaluation",params);

       

      exceptions are thrown with the message "could not find variable scope for variable hr when trying to replace variable in string for work item human task".

       

      how do i use variables hr and pm ?