[jboss-user] [jBPM] - JBPM4.3 Variable History

Huisheng Xu do-not-reply at jboss.com
Wed Apr 7 07:06:08 EDT 2010


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100407/b755c5bf/attachment.html 


More information about the jboss-user mailing list