Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4497

Cannot call subprocess in separate project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • jBPM 6.1.0.Final
    • None
    • Hide
      1. Create new project in web designer.
      2. Create new process in the project. Make the process do something simple, like a script task that outputs to the log file.
      3. Save and deploy this project.
      4. Create a new project in web designer.
      5. Create new process in the project. Drag a "reusable subprocess" into the new process and add a terminate step.
      6. In the properties of the reusable subprocess, click the arrow next to "Called Element."
      7. Choose the subprocess that you created in the other project.
      8. Save and deploy this project.
      9. Run the parent process. A runtime error appears and says it could not find the subprocess.
      Show
      Create new project in web designer. Create new process in the project. Make the process do something simple, like a script task that outputs to the log file. Save and deploy this project. Create a new project in web designer. Create new process in the project. Drag a "reusable subprocess" into the new process and add a terminate step. In the properties of the reusable subprocess, click the arrow next to "Called Element." Choose the subprocess that you created in the other project. Save and deploy this project. Run the parent process. A runtime error appears and says it could not find the subprocess.

    Description

      My issue looks similar to JBPM-4231 and JBPM-4241. Both of those are marked fixed in 6.1.0.Final. But I am still getting the problem in 6.1.0.Final.

      I am unable to call a reusable subprocess when the subprocess is defined in a separate project. In the web process designer, I open the list of subprocesses and see all the processes in every project that is in my git repo. I can select a subprocess that is in a different project. However, at runtime the subprocess is not found, and the parent process aborts. The exception is below.

      2014-10-21 13:32:38,104 WARN [org.drools.persistence.SingleSessionCommandService] (default task-16) Could not commit session: org.jbpm.workflow.instance.WorkflowRuntimeException: [Proj1.Parent:140 - calls proj3.sub:3] – Could not find process Proj3.SubProcess

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            badtea Travis Zimmerman (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: