Hi,
I our app we include the picture in the par file deploy it and then later extract it
again.
Relevant code:
| graphSession.deployProcessDefinition(ProcessDefinition.parseParZipInputStream(new
ZipInputStream(new ByteArrayInputStream(parFile))));
|
| Criteria query =
ManagedJbpmContext.instance().getSession().createCriteria(ProcessDefinition.class);
| List<ProcessDefinition> anarchyProcessDefinitionList = query.list();
| for (ProcessDefinition process : anarchyProcessDefinitionList) {
| if (process.getName().equals(processInstance.getProcessDefinition().getName())) {
| FileDefinition fileDefinition = process.getFileDefinition();
| dribbleSvg = fileDefinition.getInputStream("processimage.svg");
| break;
| }
| }
|
Cheers
Pieter
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197951#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...