04-22-2012 06:41 AM
Message message = new Message(); //mySampleObject
message.setMessage("hello Activiti");
message.setStatus(Message.HELLO);
after that i put the variable
runtimeService.setVariable(executionId, "myMessage", message);
It returns ArrayList when I retrieve it !!!?? Why?
runtimeService.getVariable(processInstance.getId(), "myMessageOutPut");
04-22-2012 07:19 AM
04-22-2012 07:53 AM
Note that the result variable will contain a List of objects. If no result variable name is specified by default org.activiti.engine.rules.OUTPUT is used.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.