Extension Attributes
|
Этот раздел перенесён из документации Camunda 7 и в дальнейшем будет доработан с учётом особенностей OpenBPM Engine |
The following attributes are extension attributes for the camunda namespace http://camunda.org/schema/1.0/cmmn.
assignee
| Description <td> This attribute specifies a performer of a <a href="Human Task">Human Task</a>. </td> | Type | java.lang.String or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> The name of a performer as java.lang.String or an expression which evaluates to a java.lang.String e.g., ${perfomer} </td> |
Default Value |
– |
candidateGroups
| Description <td> This attribute specifies which group(s) will be candidate for performing the <a href="Human Task">Human Task</a>. </td> | Type | java.lang.String or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> Comma separated list of group ids as java.lang.String or expressions that evaluate to a java.lang.String or a java.util.Collection of java.lang.String, e.g., management or management, ${accountancyGroupId()} </td> |
Default Value |
– |
candidateUsers
| Description <td> This attribute specifies which user(s) will be candidate for performing the <a href="Human Task">Human Task</a>. </td> | Type | java.lang.String or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> Comma separated list of user ids as java.lang.String or expressions that evaluate to a java.lang.String or a java.util.Collection of java.lang.String, e.g., kermit, gonzo or ${ldapService.findAllSales()} </td> |
Default Value |
– |
caseBinding
| Description <td> This attribute specifies which case definition version should be called inside the case task. </td> | Type | java.lang.String |
|---|---|---|
Possible Values <td> latest, deployment, version </td> |
Constraints <td colspan="2"> If the value is set to version the attribute <a href="[caseversion]">camunda:caseVersion</a> is required, see <a href="[casebinding]">Case Binding</a> for more information. </td> |
Default Value |
caseTenantId
| Description <td> The attribute specifies the tenant id of the case definition which is to be resolved by a case task, see <a href="openbpm:engine:reference/cmmn11/tasks/case-task.adoc#case-tenant-id">Case Tenant Id</a> for more information. </td> | Type | java.lang.String or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> A concrete tenant id or an expression which evaluates to a java.lang.String e.g., ${caseExecution.tenantId} </td> |
Default Value |
– |
caseVersion
| Description <td> This attribute explicitly defines which case definition version should be called inside the case task. </td> | Type | java.lang.Integer or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> All deployed version numbers of the case definition to call or an expression which evaluates to a java.lang.Integer </td> |
Default Value |
– |
class
| Description <td> The attribute specifies which Java class will be executed at runtime. The stated class must implement a <a href="openbpm:engine:user-guide/process-engine/delegation-code.adoc#java-delegate">Java delegate</a> interface. </td> | Type | java.lang.String |
|---|---|---|
Possible Values <td> Fully qualified Java class name of a class which implements a <a href="openbpm:engine:user-guide/process-engine/delegation-code.adoc#java-delegate">Java Delegate</a> interface, e.g., io.openbpm.bpm.MyJavaDelegate </td> |
Default Value |
– |
decisionBinding
| Description <td> This attribute specifies which decision definition version should be evaluated inside the <a href="Decision Task">decision task</a>. </td> | Type | java.lang.String |
|---|---|---|
Possible Values <td> latest, deployment, version </td> |
Constraints <td colspan="2"> If the value is set to version the attribute <a href="[decisionversion]">camunda:decisionVersion</a> is required. </td> |
Default Value |
decisionTenantId
| Description <td> The attribute specifies the tenant id of the decision definition which is to be evaluated by a decision task, see <a href="openbpm:engine:reference/cmmn11/tasks/decision-task.adoc#decision-tenant-id">Decision Tenant Id</a> for more information. </td> | Type | java.lang.String or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> A concrete tenant id or an expression which evaluates to a java.lang.String e.g., ${caseExecution.tenantId} </td> |
Default Value |
– |
decisionVersion
| Description <td> This attribute explicitly defines which decision definition version should be called inside the <a href="Decision Task">decision task</a>. </td> | Type | java.lang.Integer or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> All deployed version numbers of the decision definition to call or an expression which evaluates to a java.lang.Integer </td> |
Default Value |
– |
delegateExpression
| Description <td> The attribute allows specification of an expression which must resolve to an object that implements the corresponding interface (see <a href="Код делегации">delegation code</a>). </td> | Type | io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> Expression which evaluates to a Java class implementing a <a href="Код делегации">delegation</a> interface, e.g., ${myVariableListener}. </td> |
Default Value |
– |
dueDate
| Description <td> This attribute specifies the initial due date of a <a href="Human Task">Human Task</a> when it is created. </td> | Type | io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> An expression which evaluates to a java.util.Date, java.util.String (<a href="http://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> formatted) or null, e.g., ${dueDate} </td> |
Default Value |
– |
expression
| Description <td> The attribute defines an expression which will be evaluated at runtime. </td> | Type | io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> Expression, e.g., ${gender == 'male' ? 'Mr.' : 'Mrs.'} or #{printer.printMessage()} </td> |
Default Value |
– |
formKey
| Description <td> This attribute specifies a form resource. See <a href="Формы пользовательских задач">task forms</a> for more information. </td> | Type | java.lang.String |
|---|---|---|
Possible Values <td> A java.lang.String of a form resource which can be evaluated by the <a href="Tasklist">Tasklist</a> </td> |
Default Value |
– |
historyTimeToLive
| Description <td> The attribute specifies the history time to live (in days) for the case definition. It is used within <a href="Очистка истории">History cleanup</a>. </td> | Type | java.lang.Integer or java.lang.String |
|---|---|---|
Possible Values <td> Any non-negative integer number or string containing a time in days defined by the ISO-8601 date format. </td> |
Default Value |
null - means that case definition history won’t ever be removed during history cleanup run |
mapDecisionResult
| Description <td> The attribute references which <a href="openbpm:engine:user-guide/process-engine/decisions/bpmn-cmmn.adoc#predefined-mapping-of-the-decision-result">built-in Decision Result Mapper</a> is used to pass the result of an evaluated decision to a case variable. It should be used in combination with <a href="[resultvariable]">camunda:resultVariable</a>. </td> | Type | java.lang.String |
|---|---|---|
Possible Values <td> singleEntry, singleResult, collectEntries, resultList </td> |
Default Value |
resultList |
priority
| Description <td> This attribute specifies the initial priority of a <a href="Human Task">Human Task</a> when it is created. </td> | Type | io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> An expression which evaluates to a java.lang.Number or a java.lang.String which represents a number or null, e.g., ${priority} </td> |
Default Value |
– |
processBinding
| Description <td> This attribute specifies which process definition version should be called inside the process task. </td> | Type | java.lang.String |
|---|---|---|
Possible Values <td> latest, deployment, version </td> |
Constraints <td colspan="2"> If the value is set to version the attribute <a href="[processversion]">camunda:processVersion</a> is required, see <a href="[processbinding]">Process Binding</a> for more information. </td> |
Default Value |
processTenantId
| Description <td> The attribute specifies the tenant id of the process definition which is to be resolved by a process task, see <a href="openbpm:engine:reference/cmmn11/tasks/process-task.adoc#process-tenant-id">Process Tenant Id</a> for more information. </td> | Type | java.lang.String or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> A concrete tenant id or an expression which evaluates to a java.lang.String e.g., ${caseExecution.tenantId} </td> |
Default Value |
– |
processVersion
| Description <td> This attribute explicitly defines which process definition version should be called inside the process task. </td> | Type | java.lang.Integer or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> All deployed version numbers of the process definition to call or an expression which evaluates to a java.lang.Integer </td> |
Default Value |
– |
repeatOnStandardEvent
| Description
<td>
The attribute specifies a transition in which the repetition rule of a stage or task is evaluated.
Note that this attribute is omitted when the stage or task to repeat has at least one entry criterion. </td> |
Type | java.lang.String |
|---|---|---|
Possible Values <td> create, enable, disable, reenable, manualStart, start, complete, exit </td> |
Default Value |
complete |
resource
| Description <td> The attribute specifies an external resource. The resource can be part of the deployment or exists in the classpath. To specify the type of resource, a URL scheme like prefix deployment:// resp. classpath:// can be supplied. If the scheme is omitted, it is assumed that the resource exists in the classpath. </td> | Type | java.lang.String or io.openbpm.bpm.engine.delegate.Expression |
|---|---|---|
Possible Values <td> The path to a resource or an expression which returns the path. Optional the path can start with an URL like scheme classpath:// or deployment:// to specify where to find the resource. If omitted the resource is assumed to exists in the classpath. </td> |
Default Value |
– |
resultVariable
| Description <td> The attribute specifies the case variable in which the returned decision result is saved. It can be used in combination with <a href="[mapdecisionresult]">camunda:mapDecisionResult</a> to define a decision result mapping. </td> | Type | java.lang.String |
|---|---|---|
Possible Values <td> The name of a case variable to save the return value </td> |
Default Value |
– |
variableName
| Description <td> The variable name that is attached to element <a href="openbpm:engine:reference/cmmn11/custom-extensions/camunda-elements.adoc#variableonpart">camunda:variableOnPart</a> for which the sentry listens. Sentry is evaluated when the variable event transition occurs. </td> | Type | java.lang.String |
|---|
Лицензия и атрибуция
Эта документация была создана на базе материала "Camunda 7 Docs" от Camunda, находится под лицензией Creative Commons Attribution-ShareAlike 3.0 Unported License .
Оригинал документации: https://docs.camunda.org