From 7aee766e0ed8684a375a0c3e196ccc04f46e382f Mon Sep 17 00:00:00 2001 From: Jan Friedenstab <8794084+jfriedenstab@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:59:53 +0200 Subject: [PATCH] docs: improve description of binding type 'latest' + fix XML examples (#4177) --- .../choosing-the-resource-binding-type.md | 50 ++++++++++++++++--- .../business-rule-tasks.md | 3 +- .../bpmn/call-activities/call-activities.md | 3 +- 3 files changed, 48 insertions(+), 8 deletions(-) diff --git a/docs/components/best-practices/modeling/choosing-the-resource-binding-type.md b/docs/components/best-practices/modeling/choosing-the-resource-binding-type.md index cce41816b8b..b3f31bb5f6b 100644 --- a/docs/components/best-practices/modeling/choosing-the-resource-binding-type.md +++ b/docs/components/best-practices/modeling/choosing-the-resource-binding-type.md @@ -21,13 +21,51 @@ For example, for a call activity this would be the version of the called process Camunda 8 supports the following binding types: -| Type | Description | -| :----------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `latest` |
Resolves to the **latest deployed version** of the target resource at the moment the process element is activated.
This can lead to unexpected behavior if you deploy a new version of the target resource without ensuring backwards compatibility with every deployed process that depends on it.
Therefore, using `latest` might not be suited for production environments that require stability and a predictable behavior.
Resolves to the specific version of the target resource that was **deployed together** with the currently running version of the process in the **same deployment**.
This option ensures predictable behavior by tying the two versions together, and allows you to deploy future versions of the target resource without disrupting ongoing process instances.
This option is ideal for self-contained projects without external or shared dependencies.
To use the `deployment` binding option, create and deploy a [process application in Web Modeler](/docs/components/modeler/web-modeler/process-applications.md#deploy-and-run-a-process-application), or deploy multiple resources together via the [Zeebe API](/docs/apis-tools/zeebe-api/gateway-service.md#deployresource-rpc).
Type | +Description | +
---|---|
latest |
+
+ Resolves to the latest deployed version of the target resource at the moment the process element is activated. +
|
+
deployment |
+
+ Resolves to the specific version of the target resource that was deployed together with the currently running version of the process in the same deployment. +
|
+