[jboss-user] [JBoss jBPM] - Re: How to get process jpg and gpd

2007-11-09 Thread Olivier.ch
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

[jboss-user] [JBoss jBPM] - Re: How to get process jpg and gpd

2007-11-08 Thread HeinerNiehues
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); |

[jboss-user] [JBoss jBPM] - Re: How to get process jpg and gpd

2007-11-08 Thread Olivier.ch
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(); |

[jboss-user] [JBoss jBPM] - Re: How to get process jpg and gpd

2007-05-31 Thread lachelt
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 _

[jboss-user] [JBoss jBPM] - Re: How to get process jpg and gpd

2007-05-31 Thread cahimoped
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.