Auto Complete
Can be used with: Stage, CasePlanModel
{{< cmmn-symbol type="marker-auto-complete" >}}
The attribute autoComplete controls the completion of a stage instance. The following table describes the completion criteria of a stage instance based on the autoComplete property.
-
autoComplete = true: There are no children in theACTIVEstate, and all required (<a href="openbpm:engine:reference/cmmn11/markers/required-rule.adoc">see Required Rule</a>) children areCOMPLETED,DISABLEDorTERMINATED. -
autoComplete = false: There are no children in theACTIVEstate, and -
all children are
COMPLETED,DISABLEDorTERMINATED, or -
on manual completion using
CaseService#completeCaseExecution, all required (<a href="openbpm:engine:reference/cmmn11/markers/required-rule.adoc">see Required Rule</a>) children areCOMPLETED,DISABLEDorTERMINATED.
For a CasePlanModel the property autoComplete can be set as follows:
<case id="case">
<casePlanModel id="CasePlanModel_1" autoComplete="true">
...
</casePlanModel>
</case>
For a Stage, the following XML can be used:
<case id="case">
<casePlanModel id="CasePlanModel_1" autoComplete="true">
<planItem id="PI_Stage_1" definitionRef="Stage_1" />
<stage id="Stage_1" autoComplete="true"/>
</casePlanModel>
</case>
Документация создана на основе Camunda 7 Docs (Camunda, docs.camunda.org) и распространяется по лицензии Creative Commons Attribution-ShareAlike 3.0 Unported.