CompileFlow BPMN extension specification
This specification describes CompileFlow’s BPMN extensions: where to place them, which attributes they accept, and how they affect execution. See the Node Support List for supported standard BPMN elements.
1. Namespace And Validation
Section titled “1. Namespace And Validation”CompileFlow extensions use this namespace:
xmlns:cf="http://www.compileflow.org"Strict parsing validates two bundled schemas:
BPMN20.xsdvalidates standard BPMN structure;CompileFlowBpmnExtensions.xsdvalidates CompileFlow extension elements, attributes, and allowed values.
After schema validation, the BPMN parser and model validator check where each extension is placed and whether the model
meets the selected engine’s execution rules. Unknown extension namespaces, unknown cf: elements, unsupported attributes, repeated
extensions that allow only one instance, and children inside leaf extensions are rejected.
Definitions use UTF-8; the XML encoding declaration may be omitted or must identify UTF-8. DOCTYPE declarations are
not allowed. The engine resolves schemas from its own classpath without external access. A BPMN file does not need an
xsi:schemaLocation hint to run. Integer execution attributes (loopMaximum, maxAttempts, maxReconcileAttempts) and backoffMultiplier follow the shared numeric syntax, even with schema validation disabled.
The optional standard definitions.name is document metadata and is preserved separately from process.name.
It does not change the process code. Definition digests cover the exact source bytes, so changing this metadata
changes the definition digest and the Durable processId derived from it.
When declared, expression xsi:type must resolve to tFormalExpression in the BPMN model namespace;
the prefix itself is arbitrary. Unknown or unbound namespaces are invalid even with schema validation disabled.
For conditionExpression and loopCondition, explicitly declaring language="java" also requires this xsi:type,
for example xsi:type="bpmn:tFormalExpression" with bpmn bound to http://www.omg.org/spec/BPMN/20100524/MODEL.
Other explicit languages are rejected. Omitting language requires definitions expressionLanguage="urn:compileflow:java";
in that inherited form, xsi:type is optional, but must still resolve correctly when present. The backend and Workbench
enforce the same expression rules. These rules do not replace the script-language contract of scriptTask or cf:action.
Explicit expression metadata is also validated on timer literals. A literal without expression metadata does not
require a Java language declaration. A policy that allows only one instance cannot be repeated in separate extensionElements containers.
2. Extension Ownership
Section titled “2. Extension Ownership”Top-level extensions appear under the BPMN element’s extensionElements. Action mappings and policies are direct
children of cf:action; a reconcile action is nested in its Effect policy.
| Extension | BPMN owner | Cardinality | Purpose |
|---|---|---|---|
cf:var |
process |
zero or more | Declares process variables. |
cf:input |
cf:action |
zero or more | Maps action arguments. |
cf:output |
cf:action |
zero or one | Maps the action’s return value. |
cf:input |
scriptTask |
zero or more | Maps script inputs. |
cf:output |
scriptTask |
zero or one | Maps the script’s return value. |
cf:input/output |
callActivity |
zero or more | Maps called-process inputs and outputs. |
cf:output |
receiveTask or message intermediateCatchEvent |
zero or more | Maps declared Wait reply fields to process variables. |
cf:action |
serviceTask |
exactly one | Declares the task implementation. |
cf:invocationPolicy |
cf:action or scriptTask |
zero or one | Governs synchronous timeout, retry, and terminal failure. |
cf:effectPolicy |
cf:action or scriptTask |
zero or one | Governs recovery of an Effect. |
The qualified attributes cf:collection, cf:item, cf:itemType, cf:index,
cf:target, and cf:source belong directly to multiInstanceLoopCharacteristics; they are not
child extension elements. cf:classpath and cf:version belong directly to callActivity, which requires exactly one. cf:execution belongs directly to scriptTask. Wait deadline attributes,
cf:outcomeVariable, and cf:resolvedAtVariable belong directly to receiveTask or a message intermediateCatchEvent.
An extension on any other owner is invalid. serviceTask cannot be empty: its single cf:action is required by
preflight validation.
3. Variables
Section titled “3. Variables”<extensionElements> <cf:var name="orderId" dataType="java.lang.String" inOutType="param"/></extensionElements>| Attribute | Required | Meaning |
|---|---|---|
name |
yes | Process-variable name; must be a valid Java identifier. |
dataType |
yes | Java type name. |
inOutType |
yes | param, return, or inner. |
defaultValue |
no | Initial value. |
description |
no | Documentation. |
Process-variable names must be unique. They become generated Java field names and context-map keys.
Root variables are declarations; source and target map values for actions, process calls, and Wait outputs.
inOutType determines how a root variable is used: param is caller input, return is process output, and inner is
internal process state. ProcessEngine.execute(...) and Durable Start accept any subset of declared param variables.
Passing a return, inner, or undeclared key fails. A ProcessEngine trigger invocation may initialize any declared
root variable; it starts a new invocation and does not resume a Durable Run.
Each action input supplies exactly one expression (source), literal (value), or metadata="effectId" (Effect Actions only) to its named target. The metadata name is exact and case-sensitive. source="effectId" reads a declared business variable named effectId; it does not inject the engine’s Effect ID. A literal is not a fallback for a null source; String value="" remains an empty string.
Value-only Java expressions must be observational: Action and process-call input source expressions, gateway/loop/control conditions, and dynamic Timer or Wait deadline expressions must not change process state, reachable objects, or external systems. Preparation rejects direct assignment, compound assignment, increment, and decrement operators. Unicode escapes are translated according to Java lexical rules before literals and comments are excluded from this check; malformed escapes are rejected. Ordinary ProcessEngine expressions and input mapping expressions allow method calls. Durable control and scheduling expressions have a narrower typed allowlist. Static validation cannot prove method purity; the trusted author remains responsible for read-only, deterministic behavior. Literal value/defaultValue attributes and Action script bodies follow their own literal or execution rules.
An explicit numeric or boolean input literal must contain a value (for example, value="0" or value="false"). Preparation rejects empty and whitespace-only literals, including for boxed types. Process-call input literals use the same rule against the resolved child parameter type.
For class and bean actions, each cf:input names a formal Java parameter on the declared type through its target.
Each parameter takes one input. Inputs are evaluated in XML order. Scripts use target as the variable name.
See TBBPM action mappings for compiler settings, overload rules, and an example with reordered inputs.
Variable declarations use defaultValue for their initial value. Omitting the input preserves that value. An explicit null sets the variable to null.
An action output maps the action’s return value to a declared root variable named by
target. Action and script mappings require dataType and allow at most one output. Omitting that output discards
the return value.
A process call names both ends of each mapping. An input maps the caller’s source to the called process’s target;
an output maps the called process’s source to the caller’s target.
4. Actions
Section titled “4. Actions”This serviceTask calls an order validation method that has no external side effects and is safe to repeat. It configures timeouts and retries for ProcessEngine; remove the shown cf:invocationPolicy when using it with Durable:
<cf:action type="bean" execution="replayable" bean="orderService" class="com.example.OrderService" method="validateOrder"> <cf:input target="orderId" dataType="java.lang.String" source="orderId"/>
<cf:invocationPolicy attemptTimeout="PT30S" maxAttempts="3"/></cf:action>Each serviceTask has exactly one cf:action. Service Tasks invoke application-owned capabilities;
their type is exactly class or bean.
type |
Target and method |
|---|---|
class |
Each invocation constructs the public class named by class using its public no-argument constructor. |
bean |
The host’s ProcessComponentResolver resolves the target by its bean name and required class type. Spring Boot defaults to the current application context. |
Both types call the public method named by method (default execute) and accept optional cf:input/cf:output mappings.
cf:code is reserved for a script cf:reconcileAction nested in an Effect recovery policy; it is not a
serviceTask implementation shape.
execution tells Durable whether to run an Action as a replayable step or an effect with persisted dispatch and
recovery. Durable requires this attribute. ProcessEngine accepts omitted or replayable execution and invokes the
Action synchronously; it rejects effect during preparation.
Actions must treat all objects reachable from process state as read-only and write changes through declared outputs.
The application manages business objects obtained through its component resolver. The engine creates and closes
extensions such as ScriptExecutor loaded from standard service declarations. Both kinds of implementation must support concurrent invocation safely.
5. BPMN Script Tasks
Section titled “5. BPMN Script Tasks”A BPMN scriptTask uses standard BPMN fields for its source code and CompileFlow extensions for mappings and execution policies:
<scriptTask id="calculate" scriptFormat="java"> <extensionElements> <cf:input target="price" dataType="java.math.BigDecimal" source="price"/> <cf:output dataType="java.math.BigDecimal" target="total"/> </extensionElements> <script>return price.multiply(new java.math.BigDecimal("1.20"));</script></scriptTask>scriptFormat and script must both be nonblank. Script source is stored in the flow definition; scriptFormat selects a
ScriptExecutor available to the engine. Java, QLExpress, and MVEL use this same BPMN structure. Every script input
and output is explicitly declared with cf:input or cf:output.
To use QLExpress, add the optional compileflow-script-qlexpress module. Its JAR includes the standard Extension service
declaration; see Quick Start. To use MVEL, add compileflow-script-mvel and set scriptFormat="mvel"; see the MVEL module guide for its expression syntax, deferred compilation, and trust requirements.
Java code contains a method body. During process runtime loading, the built-in executor creates a typed wrapper and
compiles it with javac --release 17. The resulting ScriptProgram belongs to that runtime and is not persisted.
The immutable process version keeps the language, exact source, and declared signature so the runtime can be rebuilt.
Java code accepts only JDK platform input/output types and runs inside the application process as trusted code. It provides no sandbox. Workbench Server must not execute code from untrusted authors. Applications that accept such code need a separate execution environment outside the CompileFlow deployment, isolated by operating-system or container controls.
CompileFlow execution controls attach directly to the Script Task: cf:execution is a qualified task attribute, while
cf:invocationPolicy and cf:effectPolicy are direct children of extensionElements.
Omitting cf:execution preserves an unspecified value. ProcessEngine can run such a script; Durable requires an explicit
replayable or effect declaration. A script’s language or source form does not prove replayability. Scripts with external
side effects should declare cf:execution="effect". A serviceTask must never contain a script action.
6. Invocation Policy
Section titled “6. Invocation Policy”This policy controls synchronous ProcessEngine Action calls. For Durable external operations, use the Effect policy
in the next section.
<cf:action type="class" class="com.example.OrderService" method="validateOrder"> <cf:invocationPolicy timeout="PT2M" attemptTimeout="PT30S" maxAttempts="3" initialBackoff="PT1S" backoffMultiplier="2.0" maxBackoff="PT10S" jitter="full" retryOn="transient" onFailure="propagate"/></cf:action>| Attribute | Default | Constraint |
|---|---|---|
timeout |
no timeout | Positive time budget for the complete invocation, including retries and backoff. |
attemptTimeout |
no timeout | Positive time budget for one attempt; cancellation is cooperative. |
maxAttempts |
1 |
Integer from 1 through 100; includes the initial invocation. |
initialBackoff |
PT1S when retrying |
Nonnegative retry delay. |
backoffMultiplier |
1.0 |
Finite number at least 1.0. |
maxBackoff |
100 * initialBackoff |
Duration at least initialBackoff. |
jitter |
full |
full or none. |
retryOn |
always |
never, transient, always, or a registered retry policy name. |
onFailure |
propagate |
propagate, continue, or a registered failure policy name. |
Setting maxAttempts above 1 without retryOn uses the default always. Whenever the effective policy has
maxAttempts > 1 and retryOn=always (whether explicit or defaulted), semantic preparation logs
ACTION_BROAD_RETRY, and Workbench displays a warning. Neither changes execution behavior. Confirm that the operation
is safe to repeat or choose an explicitly narrower policy; transient alone does not guarantee external idempotency.
All durations use uppercase ISO-8601 notation with whole-millisecond precision. Durations and calculated defaults must fit in a long millisecond value. If both timeout attributes are set, attemptTimeout must not exceed timeout.
Input preparation failures and declared-result conversions (including unboxing and generic casts) or output mapping failures after the business method returns normally are not retried, even with retryOn="always". A timeout in either stage does not redispatch the business call. Ordinary terminal failures still follow onFailure.
Java Actions that allow automatic retry (maxAttempts > 1 and retryOn other than never), and all class/bean Effect Actions, require a typed invocation boundary that the generated caller can express. Preparation rejects a binding that can only use a direct call with inaccessible signature types, because argument unboxing or return casts cannot then be reliably separated from business execution. Expose an accessible public signature or a public facade. Ordinary and replayable Java Actions without automatic retry can still use these directly callable signatures; normal Java type checking and conversions remain in force.
timeout includes every attempt and retry backoff. Each attempt receives the smaller of attemptTimeout and the
remaining overall budget. An attempt timeout permits another attempt only if the earlier attempt has stopped and the
retry policy, remaining attempts, and time budget allow it. Overall timeout never retries. For an ordinary final failure,
onFailure="continue" permits weak dependencies, including mapped actions, to continue after failure without changing the output target. A successful null result follows normal mapping rules; a failed attempt preserves the prior value as an intentional fallback, not proof of success. The engine logs the continued terminal failure with its node ID, invocation key, attempt count, and exception type, without application exception messages or payloads. If cancellation
has not stopped the action within the configured cancellation grace period, execution fails with CF_EXEC_007 without
retry or continuation through onFailure. Cancellation grace and synchronous policy callbacks can extend the caller’s wait
beyond timeout. Cancellation is cooperative and cannot roll back an external side effect.
The policy governs one synchronous action invocation; it is not a Durable job or Effect policy. Authors must apply it only to omitted or
replayable execution whose implementation tolerates retry or uncertain timeout. An effect Action cannot declare
cf:invocationPolicy. ProcessEngine rejects effect during preparation; Durable saves an Effect record before dispatch.
Durable rejects non-default invocation policies; use its Action execution and Effect recovery semantics instead.
7. Durable Effect Policy
Section titled “7. Durable Effect Policy”An Effect Action may declare at most one cf:effectPolicy. For a service task, place it inside cf:action after its input and output mappings. For a script task, place it directly in the task’s extensionElements and set cf:execution="effect" on the task.
Without a policy, an uncertain outcome after the first attempt requires manual review. Manual recovery may explicitly set maxAttempts="1" but cannot include automatic recovery settings.
For recovery="retry", provide maxAttempts (2..100) and a positive recoveryDelay of at most 24 hours.
For recovery="reconcile", also provide maxReconcileAttempts (1..1000) and exactly one cf:reconcileAction;
in this mode, maxAttempts may be 1..100. Both modes may set a positive maxRecoveryDuration of at most 30 days.
A reconcile action queries the external system to determine an Effect’s outcome. It cannot declare execution,
an output, a literal value, an invocation policy, or another Effect policy. Each input declares exactly one of source
or metadata="effectId", along with the required target and dataType. target names the reconcile method’s argument or script binding. source names a persisted field of the original
Effect request, not a process expression. The separate metadata attribute injects the stable Effect ID.
An Action input populated from this field does not itself become a persisted request field. Attempt numbers are
telemetry only and cannot be passed as Action or reconcile business arguments.
The reconcile action returns an EffectReconcileOutcome; a confirmed result uses the original Effect Action’s output
mapping to update process state.
To choose different recovery limits for Effects created while iterating over a collection, cf:effectPolicy may instead use
recoveryPlanVariable="variableName". The visible variable must declare
com.alibaba.compileflow.durable.api.effect.EffectRecoveryPlan; static recovery attributes must be absent. The selected
recovery plan is validated and saved as an immutable snapshot when the Effect occurrence is created. A static cf:reconcileAction is still required
when the selected value can use RECONCILE.
Durable preparation checks that an Effect or reconcile input mapped from metadata="effectId" accepts a Java
String, including through a compatible supertype such as java.lang.CharSequence. For class and bean
reconcile actions it checks the overload selected by the input targets and declared types and whether the return type can
represent EffectReconcileOutcome. A method declared to return Object is checked again when invoked.
The built-in Java script executor only sees JDK classes and cannot implement a reconcile action. A custom
script executor receives EffectReconcileOutcome as its expected return type. The worker checks the actual
reconcile outcome before applying a recovery decision.
8. Called Process
Section titled “8. Called Process”<callActivity id="price" calledElement="pricing.calculate" cf:version="v3"> <extensionElements> <cf:input target="request" source="request"/> <cf:output source="price" target="price"/> </extensionElements></callActivity>calledElement specifies the canonical process code. Provide exactly one of cf:classpath and cf:version.
The XML type of calledElement is xsd:QName. Supply the local process code, or bind a prefix to this document’s targetNamespace and use prefix:code. The local part must also satisfy the process-code contract, so it starts with an ASCII letter. Surrounding whitespace is rejected. Workbench writes the local form on export. BPMN element IDs are XML NCNames. A TBBPM node ID such as 1 or a process code such as 2026.orders requires an explicit migration. Rename the target and update sequence flows, diagram references, process calls and external trigger callers together before publishing.
A classpath value must be an exact canonical resource path in the application classpath. It is not a URI and cannot use
schemes, parent traversal, wildcards, or paths relative to the caller.
A Direct definition may call classpath resources or exact Versions. An exact-Version definition or published artifact
may call only exact Versions in the caller’s namespace. Aliases select the root process only.
The complete dependency graph is prepared before business execution. Durable persists the exact targets and call-site
identities, so recovery does not reread current source definitions or routes. A Durable child call creates another
ProcessInvocation frame in the same Run, not an independently addressable Run.
The called process’s param and return declarations determine mapping types and directions, so call mappings do not
declare dataType. An input requires exactly one of source and value. An output requires both the called
process’s source and the caller’s target.
Complete call-graph resolution checks known declared-type conflicts, using the same mapping contract as TBBPM.
9. Multi-Instance Attributes
Section titled “9. Multi-Instance Attributes”<multiInstanceLoopCharacteristics isSequential="true" cf:collection="items" cf:item="item" cf:itemType="com.example.Item" cf:index="index"/>Both engines support sequential multi-instance execution. Parallel mode requires Durable; ProcessEngine rejects it.
Because isSequential defaults to false, a ProcessEngine definition must explicitly set it to true.
cf:collection and cf:item are required Java identifiers. The collection must name a declared process variable or an
enclosing multi-instance variable. cf:index is optional. Iteration-local names cannot conflict with process variables or
variables in an enclosing scope. cf:itemType is required and must explicitly declare the element’s Java type;
parsing and semantic analysis do not supply java.lang.Object.
The collection variable must be declared as an Iterable or array. If its declaration has exactly one direct type
argument, that argument must be compatible with cf:itemType; other declarations are checked element by element at
runtime. Parallel mode additionally requires a List-compatible input declaration.
To collect outputs, provide both cf:target and cf:source, or omit both to discard iteration results.
The target must name a process variable declared as java.util.List, not a concrete List implementation.
The source must name a declared inner process variable, and the names must differ. If the target List has a type
argument, it must exactly match the source variable’s type after boxing a primitive source. For example, an int source
can collect into List<Integer>, but not List<Long> or List<Number>; aggregation does not widen or coerce elements.
Results are ordered by input index. Before each iteration, the source variable is reset to its declared default. Sequential aggregation writes the complete result only when the loop exits.
10. XML Editing and Export
Section titled “10. XML Editing and Export”Workbench visual import, editing, and export support a narrower subset than the backend. Editable flow nodes are
startEvent, endEvent, serviceTask, scriptTask, receiveTask, exclusiveGateway, parallelGateway,
inclusiveGateway, callActivity, and subProcess, connected by sequenceFlow. Supported message declarations can
back a receiveTask. The backend also supports message and timer intermediateCatchEvent nodes; Workbench explicitly
rejects these during visual import rather than returning a draft with missing or converted events. Backend acceptance
does not imply visual-editing support. Unsupported BPMN elements and vendor extensions are rejected at the relevant boundary;
the format module validates the executable definition before runtime preparation.
The three supported gateway types accept optional gatewayDirection: Unspecified, Converging, Diverging, or Mixed.
Omission has the same meaning as Unspecified. Workbench preserves an explicit value through import and export.
Each explicit value other than Unspecified must match the direction implied by incoming and outgoing sequence flows;
both the backend and editor validator report a mismatch. This declaration neither selects routing behavior nor makes an
otherwise unsupported gateway topology valid. Non-gateway nodes have at most one outgoing Sequence Flow, which must
be unconditional. Only exclusiveGateway and inclusiveGateway splits can attach conditions to outgoing flows;
use these explicit gateways for conditional routing.
The editable diagram uses BPMNDI node bounds and edge waypoints. For a BPMNEdge, the first and last waypoints are
endpoints; only the intervening waypoints become editor bends. When DI is present, its bends and any ports inferred from
its endpoints take precedence over conflicting workbench-edge processing-instruction data. The PI can supplement
sourcePort or targetPort only when the endpoint does not determine that named port, or when the edge has no DI.
Workbench exports BPMN bends only in BPMNDI; a workbench-edge PI contains named ports, never a second waypoint list.
If an imported PI contains waypoints and the edge also has DI, the DI waypoints win. If the edge has no DI, the importer
rejects PI waypoints with an explicit error instead of dropping the layout. The engine gives this layout metadata no
execution meaning. These BPMN rules do not change TBBPM’s PI-based connection geometry.
11. Durable Wait Deadlines
Section titled “11. Durable Wait Deadlines”receiveTask and message intermediateCatchEvent accept at most one of cf:timeout, cf:timeoutExpression,
cf:deadlineAt, and cf:deadlineAtExpression. Omit all four for an unbounded Wait. Timer catch events reject these attributes.
As with TBBPM Wait deadlines, relative durations and absolute instants use whole milliseconds.
timeoutExpression must produce a non-null java.time.Duration; deadlineAtExpression must produce a non-null java.time.Instant.
The deadline is calculated and stored once per occurrence; recovery does not evaluate it again. Completion of an active Wait
succeeds only before its deadline. A resolved deadline at or before the issuing database time, including a zero relative
timeout, times out immediately without publishing a WAIT_COMMITTED token-delivery event.
<receiveTask id="approval" messageRef="approvalMessage" cf:deadlineAtExpression="approvalDeadline"/>Workbench preserves these qualified attributes when importing, editing, and exporting a receiveTask. For a receive task with a deadline and business outputs but no cf:outcomeVariable, its property panel explains that timeout leaves the existing output values unchanged. The engine logs the non-blocking WAIT_TIMEOUT_PRESERVES_OUTPUT warning during semantic preparation for either supported Wait form under the same conditions.
Use durableEngine.tooling().prepare(definition) to preflight hand-written message intermediateCatchEvent XML. See §10 for the visual editor’s supported nodes and the node reference for backend event support.
Both Wait forms accept optional cf:outcomeVariable, naming a visible ordinary root variable of exactly type
com.alibaba.compileflow.durable.api.wait.WaitOutcome. An accepted external completion yields COMPLETED; reaching the
deadline without one yields TIMED_OUT. Both continue along the same successor. COMPLETED does not imply business approval.
An optional cf:resolvedAtVariable names an ordinary java.time.Instant variable for the original database decision-time sample.
Recovery reuses that committed time; it is not transaction-end time, business decision time, or application observation time.
Omit either optional projection when it is not needed. If present, its attribute must contain a valid nonblank variable name; an empty or whitespace-padded value is not equivalent to omission.
Business payloads require explicit outputs inside the Wait’s extensionElements:
<receiveTask id="ack" messageRef="ackMessage" cf:timeout="PT30S" cf:outcomeVariable="ackOutcome" cf:resolvedAtVariable="ackResolvedAt"> <extensionElements> <cf:output source="receipt" target="ackValue"/> </extensionElements></receiveTask>The completion must provide exactly the declared source keys. Missing and undeclared fields are rejected before commit;
no outputs means only an empty object is accepted. Null follows the target variable’s ordinary type rules. Sources and
targets must each be unique, targets must be visible declared variables, and outputs must not collide with this Wait’s
outcome or time target. Wait outputs infer their type from the target and reject dataType. Timeout writes no business outputs.
Targets follow ordinary variable rules: param, inner, return, and declared Action outputs are allowed.
The projection variables are ordinary values, not the current Wait’s lifecycle or proof of business authorization.
ProcessEngine supports a trigger entry only for a Wait in the root process, outside concurrent regions, with no
deadline, iteration wrapper, output mappings, or native outcome/time projections. Timer catches reject these Wait
attributes and output mappings.
See TBBPM Wait outcomes for complete payload, timing, and repeated-Wait rules.
Workbench exposes these bindings on receiveTask.
12. Message references and flow order
Section titled “12. Message references and flow order”messageRef and incoming/outgoing references accept a local-file ID shorthand or a bound QName in the current
definitions.targetNamespace. Unbound prefixes, external namespaces, and cross-document imports are unsupported.
sequenceFlow attributes sourceRef and targetRef are required local XML IDREFs. A gateway’s optional default
attribute must also be a local IDREF when present. These attributes do not accept namespace prefixes or surrounding whitespace.
sequenceFlow is the authoritative graph. Incoming/outgoing lists may be omitted; when a direction is listed, it must
be complete, duplicate-free, and consistent with the endpoints. An exclusive split evaluates conditions in the order
its outgoing sequenceFlow elements appear in the containing process or subprocess. The first true condition wins.
The default flow is taken only when no condition evaluates to true. A null Boolean does not select a flow. An explicit outgoing list on the exclusive gateway
must match that sequence. Engine preflight and Workbench import report the gateway and both orders on a mismatch.
Workbench exports the two orders in agreement for exclusive splits. Other nodes only require endpoint agreement.