Huisheng Xu [
http://community.jboss.org/people/rebody] replied to the discussion
"JBPM4.3 Variable History"
To view the discussion, visit:
http://community.jboss.org/message/536051#536051
--------------------------------------------------------------
Hi Khaled,
There is another way you could try
processEngine.execute(new Command() {
public Object execute(Environment env) {
executionImpl.createVariable("test",
"valuetest",
"string", false);
Variable variable = executionImpl.getVariableObject(
"test");
HistoryEvent.fire(new VariableCreate(variable));
return null;
}
});
I think the history variable of jBPM4 is so weak. If you want to store some history
variable for process instance, you should use your own table.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/536051#536051]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]