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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...