You are currently reviewing an older revision of this page.

DRAFT KB-[SP4664] XOR node with multiple incoming flows hangs on second execution

Symptoms

An XOR node with more than one input evaluates for the second time in a process instance, it remains active on that node and never continues:


Cause

This is expected behavior. As per the XOR gateway documentation:

When multiple incoming flows are connected to the XOR gateway, it allows the first flow token through to an exclusive outgoing flow. Subsequent flow tokens wait for all incoming flows to arrive before executing the output flow decision.

Action

For any XOR node with multiple incoming flows that is both:

  1. Expected to execute multiple times.
  2. Expected to evaluate after only 1 input is provided.

Modify the process model so that each incoming flow has a separate XOR node with only a single input.

Workaround

For any active process instances affected by this, there are two possible options.

Option 1

Manually start the next node that is expected to execute based off the XOR gateway logic.

Option 2

Manually edit the process instance flow to take the changes listed in the action step.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: August 2020