Skip to main content
Question Most Common

What are the gateways in Appian explain with examples?

A
Anonymous
January 9, 2026

Answer

In Appian, gateways are nodes in a process model that control how the process flows. They decide which path the process takes next, start several tasks at the same time, or wait for several tasks to finish before moving on.


Appian has four gateway types:

  1. XOR gateway: takes one path.
  2. OR gateway: takes one or more paths.
  3. AND gateway: takes all paths at the same time.
  4. Complex gateway: follows custom rules you set for incoming or outgoing paths.


Exclusive (XOR) gateway

An XOR gateway is a fork in the road where the process can take only one path. It checks its conditions from top to bottom and follows the first one that is true. Even if a later condition is also true, the gateway ignores it.

XOR Gateway Example in Appian


Example: a manager reviews a leave request and picks Approved or Rejected from a dropdown. That choice is saved in a process variable called pv!approvalStatus. The XOR gateway has two conditions:

  1. pv!approvalStatus = “Approved” leads to “Send Approval Email”
  2. pv!approvalStatus = “Rejected” leads to “Send Rejection Email”

If the manager picked Approved, the first condition is true, so the process goes to the approval email and never looks at the second path. One request, one outcome.


Beginner tip: always add an Else (default) path. If someone saves a status you didn’t plan for, like “On Hold”, none of your conditions match and the process has nowhere to go. An Else path catches those cases, for example by sending the request back to the manager.


Inclusive (OR) gateway

An OR gateway checks every condition, and every path whose condition is true runs. That could be one path, several, or all of them.


Example: a customer submits a loan application. Depending on what they entered, the system may need a few extra steps. The OR gateway checks three conditions:

  1. pv!hasCoApplicant = true leads to “Email co-applicant for consent”
  2. pv!loanAmount > 50000 leads to “Request collateral documents”
  3. pv!isNewCustomer = true leads to “Run identity verification”

OR Gateway Appain Example


Here’s how different applications play out:

  1. Priya already banks with you and applies alone for $20,000. None of the conditions are true, so the process takes the default path, “No extra steps, ready for review.”
  2. Sam is a new customer applying alone for $15,000. Only identity verification runs.
  3. Alex already banks with you and applies with his wife for $80,000. The co-applicant email and the collateral request run at the same time.
  4. Jordan is a new customer applying with a co-applicant for $100,000. All three paths run.
  5. Give every OR gateway a default path. Without one, an application like Priya’s matches no condition and the process has nowhere to go.


The difference from XOR: XOR stops at the first true condition, while OR runs every true one.


Parallel (AND) gateway

An AND gateway doesn’t check anything. It sends the process down every outgoing path at once.

AND Appian Gateway Example


Example: A customer fills out a loan application and clicks Submit. The AND gateway splits the work into three paths:

  1. Confirmation path: show the customer a “Thanks, your application was submitted” page with their reference number
  2. PDF path: generate a one-page submission confirmation and save it to the case
  3. Email path: send the customer a “We received your application” email


The customer sees the confirmation page right away. Meanwhile the PDF and the email are handled in the background, so the customer never waits on either of them.

A second AND gateway brings the paths back together. Once the customer closes the confirmation page, the PDF is saved, and the email is sent, the case moves to “Ready for review.” By the time the loan officer opens it, the PDF is attached and the customer already has the email.


Complex gateway

Use a Complex gateway only when XOR, OR, and AND can’t express the rule you need. It lets you control how many incoming paths must arrive before the process continues, and which outgoing paths it takes.


Example: An insurance claim needs approval from three departments: Claims, Finance, and Legal. The company rule is that two out of three approvals are enough. All three reviews happen in parallel, and the paths come back into a Complex gateway set to “continue when 2 incoming paths have arrived.”

  1. Claims approves on Monday. One of three. The gateway keeps waiting.
  2. Finance approves on Tuesday. Two of three. The gateway continues and the claim moves to payment.
  3. Legal approves on Thursday. The process has already moved on.



Gateways explained with a movie night


AND

You’re hosting a movie night and three friends are coming over.

Before anyone arrives, there’s prep to do. Your roommate sets up the TV while you make popcorn and order pizza on your phone. All three jobs happen at the same time. The movie doesn’t start until every one of them is done, because nobody wants to watch with a broken TV or no food. That’s an AND gateway: split the work, then wait for all of it to finish.


XOR

Next, the group picks a movie. Half the room wants a comedy and half wants a thriller, but you can only watch one, so one wins. That’s an XOR gateway.


OR

Then there are the extras. Should someone grab ice cream? Soda? Candy from the corner shop? You might get one, two, all three, or nothing if everyone’s full from pizza. Whatever people ask for gets bought. That’s an OR gateway, and “nobody wants anything” is the default path.


COMPLEX

Last, the start time. One of your friends is always late, and you don’t want to wait for him. So you set a rule: the movie starts once any two friends arrive, and the third joins halfway through. Counting arrivals like “2 out of 3” is something only a Complex gateway can do.


What are the gateways in Appian explain with examples?

Check yourself

Question 1 of 7, on what the answer above covers.

  1. 1.
    At movie night, half the room wants a comedy and half wants a thriller, but you can only watch one. Which gateway is this?
JuniorProcess Models