Add a new bindingType attribute to the ZeebeCalledElement, ZeebeCalledDecision, and ZeebeFormDefinition extension elements in the BPMN Model API to allow the Zeebe engine to determine the binding type when a deployed BPMN diagram is processed.
Acceptance Criteria
[x] A new attribute bindingType is added to ZeebeCalledElement, ZeebeCalledDecision, and ZeebeFormDefinition.
[x] The attribute is optional.
[x] Allowed values are deployment and latest.
[x] latest is used as the default if the attribute is not set.
[x] The attribute can be set via the respective builder classes of the parent elements:
[x] AbstractBusinessRuleTaskBuilder
[x] AbstractCallActivityBuilder
[x] AbstractUserTaskBuilder
[x] For a ZeebeFormDefinition, it is not possible to set the bindingType together with formKey or externalReference.
Note: The binding type is only applicable for forms that are deployed to the same cluster and are linked by the formId, so the other combinations do not make sense.
Description
Add a new
bindingType
attribute to theZeebeCalledElement
,ZeebeCalledDecision
, andZeebeFormDefinition
extension elements in the BPMN Model API to allow the Zeebe engine to determine the binding type when a deployed BPMN diagram is processed.Acceptance Criteria
bindingType
is added toZeebeCalledElement
,ZeebeCalledDecision
, andZeebeFormDefinition
.deployment
andlatest
.latest
is used as the default if the attribute is not set.AbstractBusinessRuleTaskBuilder
AbstractCallActivityBuilder
AbstractUserTaskBuilder
ZeebeFormDefinition
, it is not possible to set thebindingType
together withformKey
orexternalReference
.formId
, so the other combinations do not make sense.Dependencies