Skip to main content

Connector Action

Connector action merges multiple branches and proceeds when any one of them is completed.

Updated over 3 weeks ago

In Yeeflow’s workflow designer, the Connector is a logic control action used to merge multiple parallel execution paths into a single downstream step.

Unlike traditional gateways, the Connector does not wait for all paths to complete. Instead, it immediately triggers the next action as soon as any one incoming path reaches it. This makes it ideal for the following types of scenarios:

  • Proceeding when any one branch meets the condition

  • Triggering the next step as soon as one parallel task finishes

  • Simplifying logic where multiple branches share the same set of conditional rules


How It Works

  • The Connector does not perform synchronization.

  • It does not wait for all incoming paths.

  • Each time an incoming path reaches the Connector, it immediately executes the next logic.

  • If multiple branches are connected to the same Connector, the downstream actions may be executed multiple times.


Difference from Inclusive Gateway

Feature

Connector

Inclusive Gateway

Type

Merge logic action

BPMN-compliant gateway

Wait behavior

❌ Does not wait—proceeds when any path arrives

✅ Waits for all incoming paths

Execution count

Executes once per incoming path

Executes only once after all paths complete

Suitable scenarios

Proceed when any condition is met

Proceed only when all branches are done

Note:

The Connector is not a BPMN gateway. Its behavior is fundamentally different from the Inclusive Gateway. Do not use it in flows that require synchronization.


Usage Tips

  • If multiple paths are connected to a Connector, its downstream actions may be triggered multiple times. Make sure the logic is idempotent (i.e., safe to run repeatedly).

  • If you want the downstream logic to execute only once, either:

    • Add a condition (e.g., a flag variable like IsProcessed = false)

    • Limit the Connector to only one incoming path

  • If you need synchronization, use the Inclusive Gateway instead.


Example

Scenario: Merging multiple AI task results

Three AI actions are running in parallel:

  • Text Classification

  • Sentiment Analysis

  • Summarization

Once any of these is complete, the workflow proceeds to the next step—sending an email.

plaintextCopyEditText Classification → ↘ Sentiment Analysis → Connector → Send Email ↗ Summarization →

🔧 How to Use the Connector in a Workflow

  1. Open the workflow designer.

  2. From the left panel under the Logic and Flow group, drag the Connector Action onto the canvas.

  3. Connect multiple parallel branches to the Connector.

  4. From the Connector, draw a line to the next step (e.g., Send Email, End Workflow).

  5. In the right-hand configuration panel:

    • Action Name: Give the Connector a clear, descriptive name.

    • Description (optional): Add notes to explain its logic or use case.


For instructions on using the Inclusive Gateway, see the related documentation:Inclusive Gateway Action | Yeeflow Help Center

Did this answer your question?