Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
LocalJbpmConfigurationFactoryBean deploy of new version of process Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • LocalJbpmConfigurationFactoryBean deploy of new version of process

    When you use LocalJbpmConfigurationFactoryBean each time you deploy the application a new process definition is deployed (even if not changed).

    Because of that jbpmtemplate.findProcessInstances() returns an empty list. (becasue the existing instances have a different definition version).

    What is the reason for deployment on each application deploy?

  • #2
    I also come to this problem now,after seeking the source code,I'm afraid that this has nothing to do with springmodel,it's jBPM itself that deploying the definition repeatedly.It seems jBPM is not 'clever' enough to find out the change of the definition.

    But I have no good solution to this problem either,perhaps we need to modify the source code of org.jbpm.db.GraphSession's deployProcessDefinition method?Or we must write some more code to specify when to really deploy the process definition as a separate (spring aware) module.

    Let's see if some one others could give a more ideal answer.


    • #3
      I do not use jbpmtemplate.findProcessInstances() anymore.

      findPooledTaskInstances and findTaskInstances seems to work ok.