[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-02-07 Thread [EMAIL PROTECTED]
i agree with Rainer that API is the best way to go forward. someting like a migrate method in the ProcessInstance class: ProcessInstance migrate(ProcessDefinition newDefinition, Map nodeMapping); the resulting process instance would be a new, cloned object structure with: * a copy of the

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-15 Thread RAlfoeldi
Hi Bernd, well first of all I said 'I would' so it was basicly hot air, nothing more. I also mentioned that I 'might' even implement it myself. So I didn't even promise to do it :-) (But I did descride the idea in some detail in this thread.) Problem is that no customer was yet willing to pay

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-15 Thread camunda
anonymous wrote : I'm personally booked 110% I would be happy to have so much free time ;-) OK, I can image that we implement it in one of our projects and let you know if we have done it... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917516#3917516 Reply

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-14 Thread camunda
I think this is a real problem! But in our application we have simply solved that by adding a processVariable for the running version and changed that if we upate a process version. The jbpm-log then keeps track at which time in the process execution the version was changed (and the old and

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-09 Thread camunda
Hi. cancel ProcessInstances and start complete new processes is often impossible (because of triggering external systems, sending mails t ocustomers, ...) so we have the solution, that we can change one processInstance to a new version if the new version has - the same states with the same

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-09 Thread RAlfoeldi
Hi Bernd, I can't resist... anonymous wrote : cancel ProcessInstances and start complete new processes is often impossible (because of triggering external systems, sending mails t ocustomers, ...) What I suggested was ending the old processInstance and starting the new one in the same or

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-04 Thread mgjadoul
Hi, This seems a more complex that what I believe I would need. The basic process migration would seems enought for me. In general, I suppose that if we want to change a process, it is because the current process has some bugs and is eventually blocked somehow. Other possibility is that there

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-04 Thread enazareno
Hi, Yes, you could definitely update definitions on the fly as what was discussed. I just don't know if there is a way you can view the updated xml definition from the process definition you updated backdoor. I guess you just need to keep track of it. And also, you are fine as long as

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-03 Thread RAlfoeldi
Hi Elmo, my ideas just a tiny bit different. I am always for using an API instead of directly going to the DB and changing things. What I would do is: - end the old processInstance - create a new processInstance and map the state of the old processInstance to the new one - I would NOT change

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-02 Thread enazareno
Hi Rainer, I think your suggestion is great. Please check if I have understood you correctly: 1. Create the new process definition 2. Specify the process instance you want migrated to new definition 3. The tool checks to see if the completed nodes matches or is still valid

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2006-01-01 Thread RAlfoeldi
Hi Elmo, just a thought: wouldn't it be worth the effort to implement migration classes? What I am suggesting is not to change existing process defintions but to define new, changed processes, define a migration class that gets and terminates all process instances of the old process definition

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2005-12-31 Thread enazareno
Yes, I agree, editing the definition on the fly might produce more problems than solutions esp. with ongoing process instances. Maybe it might be OK if your changes pertain only to additonal notifications, but not something that will change the flow of the process. I feel it might occur with

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2005-12-30 Thread brittm
If I'm not mistaken, you can dynamically modify running processes, ie. add nodes, transitions, etc. thorugh the APIs. This would not change the version of the deployed process definition. You would likely want to code a little bug fix application and run it against all process instances that

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2005-12-30 Thread [EMAIL PROTECTED]
you can update process definitions. (you have to evict the process definitions in hibernate's second level cache, though) it is not encouraged, just as modifying java byte code in a running program is not encouraged. you can get into trouble real easy. same goes for migrating process

[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin

2005-12-28 Thread enazareno
I am also thinking about this problem. I hope somebody will have a good solution for this. I will try to keep watch on this issue. Regards, Elmo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914665#3914665 Reply to the post :