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

Unable to call a sub-process that is not defined in the same project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jBPM 6.1.0.Final
    • jBPM 6.0.0.Final
    • Console, Eclipse
    • None
    • Hide

      I created two projects: bpm-parent and bpm-child in Eclipse;
      kmodule.xml for bpm-child:
      <kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule"><kbase name="kbase2" packages="*"><ksession name="ksession2"/> </kbase></kmodule>

      kmodule.xml for bpm-parent:
      <kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule"><kbase name="kbase1" includes="kbase2" packages="*"><ksession name="ksession1"/> </kbase></kmodule>

      Created child.bpmn in bpm-child and parent.bpmn in bpm-parent. When I try calling child process using Reusable sub-process node/Call Activity from parent.bpmn, it gives an error during execution complaining about not being able to find process with the given id. Also, I have added bpm-child as a dependency in the pom for bpm-parent.

      Also, tried the same exercise using jbpm-console and noticed the same behavior. It is bit strange because when you click on the properties of Reusable sub-process node, it populates the child.bpmn in the list of processes to select from but gives error during execution.

      The reusable sub-process works fine if both the processes are defined in the same project. Could you please let us know if it is a known issue and if there is a way to accompalish this.

      Show
      I created two projects: bpm-parent and bpm-child in Eclipse; kmodule.xml for bpm-child: <kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule"><kbase name="kbase2" packages="*"><ksession name="ksession2"/> </kbase></kmodule> kmodule.xml for bpm-parent: <kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule"><kbase name="kbase1" includes="kbase2" packages="*"><ksession name="ksession1"/> </kbase></kmodule> Created child.bpmn in bpm-child and parent.bpmn in bpm-parent. When I try calling child process using Reusable sub-process node/Call Activity from parent.bpmn, it gives an error during execution complaining about not being able to find process with the given id. Also, I have added bpm-child as a dependency in the pom for bpm-parent. Also, tried the same exercise using jbpm-console and noticed the same behavior. It is bit strange because when you click on the properties of Reusable sub-process node, it populates the child.bpmn in the list of processes to select from but gives error during execution. The reusable sub-process works fine if both the processes are defined in the same project. Could you please let us know if it is a known issue and if there is a way to accompalish this.

    Description

      We are unable to call a sub-process from a parent process where the sub-process is defined in a separate project.

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            bhartig Bharti Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: