Extension Attributes

Renamed in 1.4.0, old names removed

These methods were named camunda… before 1.4.0 (for example camundaAsyncBefore(), getCamundaFormKey(), setCamundaClass()). As of this release, the old names no longer exist — only the eximeeBpms… names below work. If you’re still calling a camunda… method, migrate with a mechanical rename, camundaX → eximeeBpmsX and getCamundaX → getEximeeBpmsX.

Nothing changes in the XML: the extension namespace URI and the attribute names in your .bpmn and .dmn files are untouched.

Custom extensions are a standardized way to extend the DMN model. The EximeeBPMS extension attributes are fully implemented in the DMN model API.

Every DMN Decision element can have the attributes historyTimeToLive and versionTag. To access the extension attributes, you have to call the Decision#getEximeeBpmsHistoryTimeToLiveString() and Decision#getVersionTag() methods.

String historyTimeToLive = decision.getEximeeBpmsHistoryTimeToLiveString();
String versionTag = decision.getVersionTag();

To set attributes, use Decision#setEximeeBpmsHistoryTimeToLiveString() and Decision#setVersionTag()

decision.setEximeeBpmsHistoryTimeToLiveString("1000");
decision.setVersionTag("1.0.0");

Every Input element can have an inputVariable attribute. This attribute specifies the variable name which can be used to access the result of the input expression in an input entry expression. It can be set and fetched similarly, calling Input#setEximeeBpmsInputVariable() and Input#getEximeeBpmsInputVariable():

input.setEximeeBpmsInputVariable("inputVariableName");
String inputVariable = input.getEximeeBpmsInputVariable();