Uploaded image for project: 'Spring Modules'
  1. Spring Modules
  2. MOD-422

Jbpm springmodules support does not support subprocesses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.8
    • Fix Version/s: None
    • Component/s: WORKFLOW
    • Labels:
      None
    • Environment:
      springmodules v0.8, mule v1.4.3 standalone server, linux 2.6.22

      Description

      current springmodules worflow jbpm support performs process definition instantiation (using process definition factory) outside jbpmcontext, so that sub-process resolver (DbSubProcessResolver) cannot attach itself to the context and correctly resolve subprocesses.

      to solve this issue, processdefinition factory bean has to be instantiated with reference to the jbpm configuration used, so that it can open/create new context and parse process defintion within this context.

      i have also performed some modifications to localjbpmconfigurationfactorybean, to allow for list of process definition file locations be specified, and modified 'afterPropertiesSet()' method to perform processes definitions parsing INSIDE opened context.

      probably, to solve this issue, the whole idea of localjbpmconfigurationfactorybean and processdefinitionfactorybean has to be redesigned (case one), or parsing has to be allowed only within localjbpmconfigurationfactorybean, and then process definition factory won't be used anymore.

      additional idea, is to create deployer bean, fired from within of localjbpmconfigurationfactorybean after being configured, so that deployer's deploy() method will be called from within of localjbpmconfigurationfactory bean after factory has passed jbpmconfiguration to it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              costin Costin Leau
              Reporter:
              stellars Konrad Jelen
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3d
                  3d
                  Remaining:
                  Remaining Estimate - 3d
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified