[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread npe
Problem is that if you load a process definition via hibernate and then serialize it you still keep a link to hibernate and when deserializing you still have all the links to other objects and exceptions as if you were trying to save a copied instance. View the original post : http://www.jb

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread npe
Hi, Thanks for your reply. The problem is that I design my process definition directly through the objects of the "definition graph". I don't use the eclipse graphical designer nor the XML to parse into a definition. As I have very simple definitions to create I developed a web based design

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-19 Thread npe
Hi, After changing of problem and trying differents method to do this I am getting more and more clueless on how to do this. The deep copy doesn't work because of the non-bean properties of some jbpm objects. Does someone have any idea ? View the original post : http://www.jboss.com/index.

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-04-23 Thread npe
Hi, Thanks for the reply. I didn't know about deep copy and all this stuff so I had a look at it. I tried to use this library : http://sourceforge.net/projects/beanlib/ in order to create a process Definition copy. Then, I bumped into a problem quite unexpected : In process definition there a

[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-04-22 Thread npe
It is important to precise that I create my process definitions programatically and so I don't have any access to the XML definition. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145799#4145799 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss jBPM] - Duplication of processDefinition

2008-04-22 Thread npe
Hi, I looked through all the documentation and on this forum but didn't find anything really pertinent. I would like to duplicate a process definition and all its childs (nodes task transitions). Is there any simple way to do this ? The only one I found so far is to create new objects and c

[jboss-user] [JBoss jBPM] - Re: How do we store collections as context instance variable

2008-04-22 Thread npe
Hi, In order to do this I created an object holding a collection (a list in my case) of a custom object and I made an hibernate mapping in order to let jBPM know how to persist those objects. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145789#4145789 Rep

[jboss-user] [JBoss jBPM] - Re: Can we save custom variables in a ProcessDefinition

2007-12-06 Thread npe
"kukeltje" wrote : | npe: in that case the other solution will indeed not work. Generating xml from the PD object is not supported anymore (jpdlxmlwriter is deprecated) I'm not sure I get that well : That means I have to forget about XML (no problem though) and persist it

[jboss-user] [JBoss jBPM] - Re: Can we save custom variables in a ProcessDefinition

2007-12-06 Thread npe
Actually i'm facing a problem with that and I quite agree with simon. I created my process definition programmatically with an action that creates the variables of the process at the start of a new instance, based on a map that is a field of my action handler (maybe not the best solution but it'

[jboss-user] [JBoss jBPM] - Re: Can we save custom variables in a ProcessDefinition

2007-12-03 Thread npe
Hi all, As far as I understood all the doc I could found and the subject of this topic, it's impossible to store variables at the process definition level. It means that you have to instantiate and eventually initialize the variables each time you instantiate a process instance. Can someone co

[jboss-user] [JBoss jBPM] - Re: Web based process designer

2007-12-03 Thread npe
Actually I am working on some process designer web based. The goal of it is not the redevelop a GPD but to provide a easy and very simple way to configure a process with restricted functionalities (no fork for example). The idea is to still have the possibility to configure complex processes in