Link events are a special case - it has no special execution semantics but serves as a “GoTo” to another pointin the same process model (to be precise: in the same sub process). Hence you can use two matching links as analternative to a sequence flow as shown in the following example.

Note that you might have the same event source (throwing intermediate link event with the same event definition name) multiple times, but the event target (catching intermediate link event) has to be unique according to the BPMN 2.0 specification.

Link Event Definition

The name of the link is set by a LinkEventDefinition within the XML. Please note that this should always correspond to the nameof the intermediate event, otherwise this gets really confusing to everybody looking at the diagram (however, the engine justgives a warning as it is valid BPMN 2.0).

  1. <process id="someProcess">
  2. <!-- ... -->
  3. <intermediateThrowEvent id="IntermediateThrowEvent_1" name="LinkA">
  4. <linkEventDefinition id="LinkEventDefinition_1" name="LinkA"/>
  5. </intermediateThrowEvent>
  6. <intermediateCatchEvent id="IntermediateCatchEvent_1" name="LinkA">
  7. <linkEventDefinition id="LinkEventDefinition_2" name="LinkA"/>
  8. </intermediateCatchEvent>
  9. <!-- ... -->
  10. </process>

Camunda Extensions

Attributes
camunda:asyncBefore, camunda:asyncAfter, camunda:exclusive, camunda:jobPriority
Extension Elements
——-
camunda:inputOutput
Constraints
——-

原文: https://docs.camunda.org/manual/7.9/reference/bpmn20/events/link-events/