caseExecutionListener
expression
Description |
---|
Defines an expression to inject in delegated classes (see Field Injection). |
Attributes |
——- |
– |
Text Content |
——- |
The expression to inject |
Constraints |
——- |
– |
Parent elements |
——- |
Child elements |
——- |
– |
field
Description | ||
---|---|---|
Defines the value to inject in delegated classes (see ). | ||
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 stringValue and expression or one of the child elements and expression can be used |
||
Parent elements | ||
——- | ||
camunda:variableListener, camunda:caseExecutionListener | ||
Child elements | ||
——- | ||
, camunda:string |
in
out
Description | ||
---|---|---|
This element specifies variables which should be passed back from the sub instance (process instance or case instance), see 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 all to pass all sub instance variables back |
|
target |
Name of the variable inside the calling case instance | |
Constraints | ||
——- | ||
Only one of the attributes source , sourceExpression or variables can be used |
||
The attribute target is required if the source or sourceExpression attribute is used |
||
Parent elements | ||
——- | ||
, Case Task | ||
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 camunda:resource | |
Constraints | ||
——- | ||
The scriptFormat attribute is required |
||
If the attribute is used, no source code text content is allowed | ||
Parent elements | ||
——- | ||
, camunda:caseExecutionListener | ||
Child elements | ||
——- | ||
– |
string
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 camunda:class | |
expression |
see | |
delegateExpression |
see camunda:delegateExpression | |
Constraints | ||
——- | ||
The event attribute is required and must be one of the task events: create , assignment , complete or delete |
||
One of the attributes class , expression or delegateExpression is mandatory |
||
Parent elements | ||
——- | ||
Child elements | ||
——- | ||
camunda:field, |
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 | |
expression |
see camunda:expression | |
delegateExpression |
see | |
Constraints | ||
——- | ||
Valid values for the event attribute are create , update and delete . This attribute is optional and if left out, the listener is notified for all kinds of events. |
||
Either one of the attributes class , expression or delegateExpression , or a camunda:script child element is mandatory. |
||
Parent elements | ||
——- | ||
Case Plan Model, Stage, , Process Task, | ||
Child elements | ||
——- | ||
camunda:field, |
variableOnPart
variableEvent
Description |
---|
Add variableEvent to a VariableOnPart. A sentry is evaluated when the variableEvent transition occurs. |
Value |
——- |
Valid values are create ,update or delete |
Parent element |
——- |
VariableOnPart |