[jboss-user] [JBoss jBPM] - Re: Handling process definitions

newbie007 do-not-reply at jboss.com
Tue Jul 25 11:58:02 EDT 2006

How are you deploying the definition? Are you retreiving the process definition from the".par" file?

Here is what you can do:

ZipInputStream zipStream = new ZipInputStream(new FileInputStream(new File(<location of par file>)));
  | ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(zipStream);
  | jbpmContext.deployProcessDefinition(processDefinition);

The default jbpm web app already has that functionality (look at the "monitoring" menu of web app).


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

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

More information about the jboss-user mailing list