[jboss-user] [JBoss jBPM] - Re: new instance
mputz
do-not-reply at jboss.com
Tue May 22 10:20:12 EDT 2007
You shouldn't create a new ProcessDefinition object by calling
ProcessDefinition p = new ProcessDefinition("myprocess");
first.
Instead, create it like this:
ZipInputStream zipInputStream = new ZipInputStream(new FileInputStream("c:\\myprocess.par"));
| ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(zipInputStream);
| jbpmContext.deployProcessDefinition(processDefinition);
| zipInputStream.close();
Regards, Martin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047597#4047597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047597
More information about the jboss-user
mailing list