The following elements are extension elements for the camunda
namespace http://operaton.org/schema/1.0/cmmn
.
caseExecutionListener
Description | Add an execution listener to an event in the lifecycle of a case item. | |
---|---|---|
Attributes | event | The type of the lifecycle event for which the listener is called |
class | see operaton:class | |
expression | ||
delegateExpression | ||
Constraints | The | |
One of the attributes | ||
Parent elements | Case, Human Task, Process Task, Case Task, Stage, Milestone, | |
Child elements |
expression
Description | Defines an expression to inject in delegated classes (see Field Injection). | |
---|---|---|
Attributes | – | |
Text Content | The expression to inject | |
Constraints | – | |
Parent elements | operaton:field | |
Child elements | – |
field
Description | Defines the value to inject in delegated classes (see Field Injection). | |
---|---|---|
Attributes | name | The name of the field |
expression | The value of the field as expression | |
stringValue | The value of the field as String | |
Constraints | Only one attribute of | |
Parent elements | operaton:variableListener, operaton:caseExecutionListener | |
Child elements |
in
Description | This element specifies variables which should be passed to the sub instance (process instance or case instance), see passing variables to called process or passing variables to called case for more information. | |
---|---|---|
Attributes | source | A name of a variable to be passed in |
sourceExpression | An expression to be evaluated and passed in | |
variables | Can be set to | |
target | Name of the variable inside the sub instance | |
local | Can be set to | |
businessKey | Set the business key of the sub instance | |
Constraints | Only one of the attributes | |
The attribute | ||
Parent elements | ||
Child elements | – |
out
Description | This element specifies variables which should be passed back from the sub instance (process instance or case instance), see passing variables to called process or passing variables to called case for more information. | |
---|---|---|
Attributes | source | A name of a variable to be passed back |
sourceExpression | An expression to be evaluated and passed back | |
variables | Can be set to | |
target | Name of the variable inside the calling case instance | |
Constraints | Only one of the attributes | |
The attribute | ||
Parent elements | ||
Child elements | – |
script
Description | A script element. The script is executed and the return value is used as mapping value. | |
---|---|---|
Attributes | scriptFormat | The format identifier, normally the language of the script source code |
resource | equivalent to operaton:resource | |
Constraints | The | If the |
Parent elements | operaton:variableListener, operaton:caseExecutionListener | |
Child elements | – |
string
Description | Defines a String value to inject in delegated classes (see Field Injection). | |
---|---|---|
Attributes | – | |
Text Content | The String value to inject | |
Constraints | – | |
Parent elements | operaton:field | |
Child elements | – |
taskListener
Description | Add a task listener to a task event. | |
---|---|---|
Attributes | event | The type of the event for which the listener is called |
class | see operaton:class | |
expression | ||
delegateExpression | ||
Constraints | The | |
One of the attributes | ||
Parent elements | Human Task | |
Child elements |
variableListener
Description | Adds custom code to listen to variable events such as the creation, update or deletion of a variable. A listener defined on a model scope (like the case plan model, a human task, etc.) is notified for all variable events that occur in this scope or any of its subordinate scopes. | |
---|---|---|
Attributes | event | The type of the event for which the listener is called |
class | see operaton:class | |
expression | ||
delegateExpression | ||
Constraints | Valid values for the | |
Either one of the attributes | ||
Parent elements | Case Plan Model, Stage, Human Task, Process Task, Case Task | |
Child elements |
variableOnPart
Description | Add variableOnPart to sentry. see variableOnPart. | |
---|---|---|
Attributes | variableName | |
Constraints |
| |
Parent element | Sentries | |
Child element | operaton:variableEvent |
variableEvent
Description | Add variableEvent to a VariableOnPart. A sentry is evaluated when the variableEvent transition occurs. | |
---|---|---|
Value | Valid values are | |
Parent element | VariableOnPart |