Extension Attributes
Renamed in 1.4.0
These methods were named camunda… before 1.4.0 (for example
camundaAsyncBefore(), getCamundaFormKey(), setCamundaClass()). The old
names still exist and still work throughout 1.4.x, but they are deprecated
and will be removed in 1.5.0 — 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();