Hi
Did you before upload the processimage.jpg and the gpd.xml ?
This is necessery because the ProcessDefinition.xml doesnt contain this files.
You have to add these files to the processdefinition like this:
| ProcessDefinition pi = jbpmContext.getGraphSession().loadProcessDefinition(pid);
|
| FileDefinition fileDefinition = pi.getFileDefinition();
| if (fileDefinition == null) {
| fileDefinition = new FileDefinition();
| pi.addDefinition(fileDefinition);
| }
| fileDefinition.addFile(name, inputStream);
| jbpmContext.getGraphSession().saveProcessDefinition(pi);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103057#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...