Process not visible after deploy when using multiple KieBases
Issue
There is a process containing a sub-process and another project containing a parent-process with a "Reusable Subprocess" node to invoke the sub-process:
However, when the parent project is build in Business Central with Build & Deploy button, the Process-Management/Process-Definitions tab only lists the Sub-Process with a [Start] button, not the parent Process. The start button does indeed start the bare sub-process, which does work.
It was expected that also the Parent-process is listed with a [Start] button.
Both projects build/deploy successfully otherwise.
The KModules are configured as follows:
Parent kmodule.xml:
<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<kbase name="ParentBase" default="false" eventProcessingMode="stream" equalsBehavior="identity" packages="*" includes="SubBase">
<ksession name="ParentSession" type="stateful" default="false" clockType="realtime"></ksession>
</kbase>
</kmodule>
Subprocess kmodule.xml
<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<kbase name="SubBase" default="true" eventProcessingMode="stream" equalsBehavior="identity" packages="*">
<ksession name="SubSession" type="stateful" default="true" clockType="realtime"></ksession>
</kbase>
</kmodule>
Environment
- Red Hat JBoss BPM Suite
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
