Hi,

     If you are using jbpm 3.1beta here is a sample code:


  | JbpmConfiguration config = JbpmConfiguration.getInstance();
  | JbpmContext ctx = config.createJbpmContext();
  |             try {
  |       ProcessDefinition def = ProcessDefinition.parseXmlString(xml);
  |                     ctx.deployProcessDefinition( def);
  |             } 
  |             catch (Exception e) {
  |                     return "FAILED: " + e.getMessage();
  |             }
  |             finally {
  |                     ctx.close();
  |             }
  | 

    If you are using jbpm3.02,  etc, pls. let me know. It is quite different. 
Also indicate what database you're using and what environment (servlets? Jboss? 
).

Regards,

Elmo

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919736#3919736

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919736


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to