Perfect it works ... thanks a lot ...
Olivier
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103240#4103240
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103240
___
jboss-us
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);
|
I have tryed your solution but when I get the FileDefinition, this object is
null...
Is there something to do when you deploy your process to be able to get this
image ... ?
my code to get this FileDefinition is :
|
| JbpmContext context = Jbpmconfiguration.createJbpmContext();
|
Ah, that helps me understand the FileDefinition class.
Thanks for the quick and simple reply.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050236#4050236
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050236
_
Found it in the old webapp code :
processDefinition.getFileDefinition().getBytes("processimage.jpg")
And you can get the ProcessDefinition from GraphSession.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050231#4050231
Reply to the post :
http://www.jboss.