AnsweredAssumed Answered

Question / Problem with runtimeService.getVariable(

Question asked by hamed on Apr 22, 2012
Latest reply on Apr 22, 2012 by hamed
I'm using drools with Activiti , I have businessRuleTask in my processDef .
in my code

Message message = new Message(); //mySampleObject
      message.setMessage("hello Activiti");
after that i put the variable

runtimeService.setVariable(executionId, "myMessage", message);
It returns ArrayList when I retrieve it !!!?? Why?

runtimeService.getVariable(processInstance.getId(), "myMessageOutPut");