Skip to main content
Version: v11.*.*

User Task Configuration in Camunda

General behavior

Kadai Adapters for Camunda populate a task with metadata, either dynamically from the process and/or from the BPMN. The Kadai fields that are set by the Adapter are:

  • name if not provided, taskDefinitionKey is used
  • description
  • owner
  • due
  • planned
  • manualPriority if not set, defaults to -1 (lowest priority)
  • classificationKey
  • domain
  • workbasketKey
  • customInt1customInt8
  • customAttributes, find more information in this section

Additionally, the following fields are set by the adapter but cannot be directly influenced by the user:

  • created
  • systemUrl
  • externalId
  • callbackInfo
  • businessProcessId

Minimal required attributes

Recommended minimal attributes to ensure proper creation and routing in Kadai:

  • classificationKey
  • domain
  • workbasketKey

Custom attributes

Custom attributes let you synchronize extra variables into Kadai. To enable this, provide a comma-separated list of variable names in the attributes field. The adapter will:

  • Read each named variable from the process instance.
  • Prefix the attribute name with camunda: and add it (with the value information) to the Kadai task's customAttributes map.

When the Kadai task is synchronized back to Camunda (for example on completion), the corresponding variables in Camunda are updated with the values from Kadai.

Camunda 7 (C7) — attributes and sources

The C7 plugin uses extension properties as well as variables. Both of these must have one of the accepted prefixes to be recognized by the adapter, for example kadai.classificationKey or taskana-classificationKey. Accepted prefixes are: kadai., kadai-, taskana.,taskana-. The C7 plugin also makes use of standard user task properties from the BPMN.

Kadai AttributeC7 source(s)Notes
nameBPMN task name
descriptionBPMN Element documentation
ownerBPMN User assignment → Assignee
dueBPMN User assignment → Due DateISO8601 format
plannedBPMN User assignment → Follow Up DateISO8601 format
manualPriorityVariable manual-priority (prefixed)Default -1 if missing
classificationKeyUser task extension property classification-key (prefixed)
domainVariable / user task extension property / process model extension property domain (prefixed)Lookup order: variable → userTask extension → process model extension
workbasketKeyVariable workbasket-key (prefixed)
customInt1customInt8Variables custom-int-1… (prefixed)
customAttributesUser task extension property / process model extension property attributes (prefixed)Names of variables to include in customAttributes map; Lookup order: userTask extension → process model extension

Camunda 8 (C8) — attributes and sources

The C8 plugin reads from variables with prefix kadai_. Additionally, the C8 plugin uses user task properties.

AttributeC8 sourceNotes
nameVariable kadai_nameCurrently, we are not able to read out the BPMN name in our UserTaskListener. If the variable is not given, the domain is used as fallback.
description-Currently not synchronized from Camunda
ownerBPMN Assignment → Assignee
dueBPMN Assignment → Due date
plannedBPMN Assignment → Follow up date
manualPriorityVariable kadai_manual_priorityThe priority in the BPMN Assignment is not used
classificationKeyVariable kadai_classification_key
domainVariable kadai_domain
workbasketKeyVariable kadai_workbasket_key
customInt1customInt8Variable kadai_custom_int_1kadai_custom_int_8
customAttributesVariable kadai_attributesNames of variables to include in customAttributes map

Note that the variables can have different scopes. The adapter will synchronize the variables in all scopes.