-
1. Re: jbpm 4.3 how to change process at runtime
sebastian.s Feb 2, 2010 3:40 AM (in response to ammallex)Take a look at this section in the developer's guide: http://docs.jboss.com/jbpm/v4/devguide/html_single/#instancemigration
It's still in incubation but maybe it fits your needs. Maybe you also want to contribute on this.
-
2. Re: jbpm 4.3 how to change process at runtime
sebastian.s Feb 2, 2010 3:41 AM (in response to sebastian.s)It also helps if you've got further propositions on this. So if you have specific feature request let's discuss it here in the forum. -
3. Re: jbpm 4.3 how to change process at runtime
ammallex Feb 2, 2010 3:52 AM (in response to sebastian.s)Sebastian thanks! It is what i need -
4. Re: jbpm 4.3 how to change process at runtime
ammallex Feb 2, 2010 4:35 AM (in response to sebastian.s)If you try deploy process with <migrate-instances/> tag and you repository is clear now - you will get exception -
java.lang.IndexOutOfBoundsException: fromIndex = -1
at java.util.SubList.<init>(AbstractList.java:600)
at java.util.RandomAccessSubList.<init>(AbstractList.java:758)
at java.util.AbstractList.subList(AbstractList.java:468)
at org.jbpm.pvm.internal.migration.InstanceMigrator.getProcessesToMigrate(InstanceMigrator.java:104)
at org.jbpm.pvm.internal.migration.InstanceMigrator.getProcessInstancesToMigrate(InstanceMigrator.java:84)
at org.jbpm.pvm.internal.migration.InstanceMigrator.migrateAll(InstanceMigrator.java:27)...
May be better handle similar situations?
-
5. Re: jbpm 4.3 how to change process at runtime
sebastian.s Feb 2, 2010 4:40 AM (in response to ammallex)If <migrate-instances /> (= empty) is a valid usage of this tag (according to the schema) you should create an issue in JIRA for this. Please provide a unit-test and link to this forum post.