I have the following CMMN model:
The CMMN exported by flowable-modeler is the following
<case id="assessmentEvaluation" name="Assessment evaluation" flowable:initiatorVariableName="initiator">
<casePlanModel id="onecaseplanmodel1" name="Case plan model" flowable:formFieldValidation="false">
<planItem id="planItem4" name="In analysis" definitionRef="inAnalysisStage"></planItem>
<stage id="inAnalysisStage" name="In analysis">
<planItem id="planItem1" name="Risk analysis" definitionRef="riskAnalysis">
<itemControl>
<requiredRule></requiredRule>
</itemControl>
</planItem>
<planItem id="planItem2" name="Request information for client" definitionRef="userEventListener1"></planItem>
<planItem id="planItem3" name="Register client information" definitionRef="registerClientInformation">
<entryCriterion id="entryCriterion2" flowable:sentryRef="sentry1"></entryCriterion>
</planItem>
<sentry id="sentry1">
<planItemOnPart id="sentryOnPart1" sourceRef="planItem2">
<standardEvent>complete</standardEvent>
</planItemOnPart>
</sentry>
<humanTask id="riskAnalysis" name="Risk analysis" flowable:formFieldValidation="true"></humanTask>
<userEventListener id="userEventListener1" name="Request information for client"></userEventListener>
<humanTask id="registerClientInformation" name="Register client information" flowable:formFieldValidation="true"></humanTask>
</stage>
</casePlanModel>
</case>
If I try and deploy this model using Flowable’s Java Engine (6.5.0), it throws an error:
org.flowable.common.engine.api.FlowableException: No sentry found for reference null of entry criterion entryCriterion2
After digging for a while, I found that CriterionXmlConverter.java is looking for the attribute “sentryRef” in the default namespace, which doesn’t match the namespace created by the flowable-modeler.
I’ve tried using flowable-design (3.5.0) and it also exports with “flowable” namespace.
On flowable-modeler 6.4.2, it exports with the default namespace.
Is there any way to make flowable-modeler (and flowable-design) export with the default namespace ?