Process Model- split using AND gate

Certified Associate Developer

Hi Community,

Let’s say I have 15 nodes in a process model.

Scenario 1: The nodes are placed linearly and execute one after another.

Scenario 2: The nodes are split into 5 branches, with 3 nodes in each branch, using an AND/OR gate.

On testing above scenarios, when I config this inside startprocess and try to trigger it from web API, both scenarios are taking approx same time. Does appian on the backend still executes it linear irrespective of how we branch it in single process model canvas?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Short answer: No, Appian does NOT force everything to run linearly.

    Appian does support parallel execution with gateways, but it doesn’t guarantee simultaneous execution.

    Appian process execution engine uses a limited thread pool, so parallel branches are scheduled based on available resources.

    In your case, as the nodes are lightweight, both linear and parallel flows take similar time. You’ll see real performance improvement only when each branch has heavy operations like integrations or long-running tasks.

Reply
  • 0
    Certified Senior Developer

    Short answer: No, Appian does NOT force everything to run linearly.

    Appian does support parallel execution with gateways, but it doesn’t guarantee simultaneous execution.

    Appian process execution engine uses a limited thread pool, so parallel branches are scheduled based on available resources.

    In your case, as the nodes are lightweight, both linear and parallel flows take similar time. You’ll see real performance improvement only when each branch has heavy operations like integrations or long-running tasks.

Children
No Data