1.0 to 1.1

Этот раздел перенесён из документации Camunda 7 и в дальнейшем будет доработан с учётом особенностей OpenBPM Engine

In order to update existing CMMN 1.0 XMLs to valid CMMN 1.1 the following adjustments must be done.

  • The namespace must be updated as follows:

Affected Elements

Definitions

CMMN 1.0

<definitions xmlns="http://www.omg.org/spec/CMMN/20131201/MODEL">

CMMN 1.1

<definitions xmlns="http://www.omg.org/spec/CMMN/20151109/MODEL">

  • The <body/> element from expressions must be removed:

Affected Elements

Condition

CMMN 1.0 <td> &lt;condition&gt;
   &lt;body&gt;${any-expression}&lt;body&gt;

&lt;/condition&gt; </td>

CMMN 1.1 <td> &lt;condition&gt;${any-expression}&lt;/condition&gt; </td>

This is relevant for all elements containing a condition like IfPart, ManualActivationRule and RequiredRule

  • The attributes entryCriteriaRefs and exitCriteriaRefs are dropped, so that the following adjustments must be done:

Affected Elements

PlanItem, CasePlanModel

CMMN 1.0 <td> &lt;planItem id="A_PLAN_ITEM_ID"
       entryCriteriaRefs="Sentry_1 Sentry_2"
       exitCriteriaRefs="Sentry_3 Sentry4" /&gt; </td>

CMMN 1.1 <td> &lt;planItem id="A_PLAN_ITEM_ID"&gt;
   &lt;entryCriterion sentryRef="Sentry_1" /&gt;
   &lt;entryCriterion sentryRef="Sentry_2" /&gt;
   &lt;exitCriterion sentryRef="Sentry_3" /&gt;
   &lt;exitCriterion sentryRef="Sentry_4" /&gt;

&lt;/planItem&gt; </td>

  • The attribute description is not available anymore. Instead of the description attribute use the <documentation/> element:

Affected Elements

Any CMMN element

CMMN 1.0 <td> &lt;planItem id="A_PLAN_ITEM_ID"
       description="This is a description of the plan item..." /&gt; </td>

CMMN 1.1 <td> &lt;planItem id="A_PLAN_ITEM_ID"&gt;
   &lt;documentation&gt;
       This is a description of the plan item...
   &lt;/documentation&gt;

&lt;/planItem&gt; </td>

Лицензия и атрибуция

Эта документация была создана на базе материала "Camunda 7 Docs" от Camunda, находится под лицензией Creative Commons Attribution-ShareAlike 3.0 Unported License .

Оригинал документации: https://docs.camunda.org