For the complete documentation index, see llms.txt. This page is also available as Markdown.

Condition Cards - Complete Guide

Condition Cards - Complete Guide

Covers: 31 remaining condition cards


The condition cards on this page go in the When and And groups of the Workflow Builder — they decide whether the Then actions run:

Workflow Builder canvas with When, And and Then card groups
Condition cards are added to the When and And groups via Add Card.

📌 Version Information

Status: Most condition cards are stable with single or dual-version structures Version Pattern: Most follow v1 → v2 pattern (adding i18n support) Multi-Version Example: CONDITION_DECISION_TREE_DATA (v2-v3)

Note: Some PO comparison condition cards have 4-5 versions (see PO Matching Guide for details)

📖 Complete Version History | Card Version Database | PO Matching Guide


Document State & Status Conditions

Card: CONDITION_DOC_STATUS_IS_ISNOT / Document Status Check

Purpose

Checks if document has specific status

When to Use

  • Before approving

  • At specific workflow stage

  • Status-based routing

Document Status Types

How It Works

Example

Parameters


Card: CONDITION_DOC_STATUS_IS_ISNOT_IN_LIST

Purpose

Checks if status matches any in a list

When to Use

  • Multiple valid statuses

  • OR logic for status

Example


Card: CONDITION_DOC_TYPE_IS_ISNOT / Document Type Check

Purpose

Checks if document is specific type

Document Types

How It Works

Example


Card: CONDITION_DOC_TYPE_IS_ISNOT_LIST

Purpose

Checks if type matches any in list

Example


Card: CONDITION_SUB_ORG_IS_ISNOT / Sub-Organization Check

Purpose

Checks which organization/department owns document

Organizations

Example


Card: CONDITION_PURCHASE_ORDER_IMPORT / PO Import Check

Purpose

Checks if PO is newly imported or existing

How It Works

When to Use

  • Different handling for new POs

  • Skip validation for known POs

  • Track first time seeing supplier


Assignee Conditions

Card: CONDITION_USER_IS_ISNOT / User Check

Purpose

Checks if document assigned to specific user

How It Works

Example


Card: CONDITION_USER_IS_ISNOT_IN_LIST

Purpose

Checks if assigned to any user in list

Example


Card: CONDITION_GROUP_IS_ISNOT / Group Check

Purpose

Checks if assigned to specific group

Example


Card: CONDITION_GROUP_IS_ISNOT_IN_LIST

Purpose

Checks if assigned to any group in list

Example


Date & Time Conditions

Card: CONDITION_TIME_IS_ISNOT_BETWEEN / Date Range Check

Purpose

Checks if date falls between two dates

How It Works

Calculation

When to Use

  • Check if in fiscal period

  • Check if within deadline

  • Check if in promotional period

Example

Parameters


Card: CONDITION_TODAY_IS_ISNOT / Today Check

Purpose

Checks if today's date matches criteria

How It Works

Use Cases

Example


Card: CONDITION_CONFIRMED_DELIVERY_ACCEPTED_DATE_IN_CALENDAR_MASTER_DATA

Purpose

Checks if delivery date matches approved delivery dates in calendar

How It Works

When to Use

  • Verify delivery matches agreed dates

  • Check against holiday calendar

  • Validate against contracted dates

Example


Logic Conditions

Card: CONDITION_DECISION_TREE_DATA / Decision Table Returns

Purpose

Checks if decision table has return values

How It Works

When to Use

  • Before using decision table results

  • As gate condition

  • To check if routing available

Example


Card: CONDITION_CONTINUE_CHANCE / Random Probability

Purpose

Continues with specified probability

How It Works

When to Use

  • A/B testing workflows

  • Sampling documents

  • Random quality checks

Example

Calculation


Card: CONDITION_MODULE_IS_ISNOT_ACTIVE / Feature Check

Purpose

Checks if specific module/feature is enabled

Modules

How It Works

When to Use

  • Feature-dependent workflows

  • Optional processing

  • Check if licensed feature active


Card: CONDITION_HTTPS_REQUEST_STATUS / Request Result Check

Purpose

Checks if HTTPS request was successful

Status Codes

How It Works

Example


Card: CONDITION_SUPPLIER_STATUS_IS_ISNOT / Supplier Status Check

Purpose

Checks supplier's status in system

Supplier Statuses

How It Works

Example


Card: CONDITION_SPECIFY_SUPPLIER_TYPE

Purpose

Specifies/checks supplier type

Supplier Types

How It Works


Example Decision Flows

Flow 1: Status-Based Processing

Flow 2: Supplier-Based Processing

Flow 3: Amount-Based with Date Check


Condition Card Comparison

Card
Checks
Operator
Use

CONDITION_DOC_STATUS_IS_ISNOT

Document status

IS / IS NOT

Stage check

CONDITION_DOC_STATUS_IS_ISNOT_IN_LIST

Status in list

IN / NOT IN

Multiple statuses

CONDITION_DOC_TYPE_IS_ISNOT

Document type

IS / IS NOT

Type filtering

CONDITION_DOC_TYPE_IS_ISNOT_LIST

Type in list

IN / NOT IN

Multiple types

CONDITION_SUB_ORG_IS_ISNOT

Organization

IS / IS NOT

Department check

CONDITION_USER_IS_ISNOT

Assigned user

IS / IS NOT

User check

CONDITION_USER_IS_ISNOT_IN_LIST

User in list

IN / NOT IN

Multiple users

CONDITION_GROUP_IS_ISNOT

Assigned group

IS / IS NOT

Group check

CONDITION_GROUP_IS_ISNOT_IN_LIST

Group in list

IN / NOT IN

Multiple groups

CONDITION_TIME_IS_ISNOT_BETWEEN

Date range

BETWEEN

Date window

CONDITION_TODAY_IS_ISNOT

Today's date

IS / IS NOT

Today check

CONDITION_DECISION_TREE_DATA

DT returns

HAS / HAS NOT

DT result check

CONDITION_CONTINUE_CHANCE

Probability

CHANCE

Random gate

CONDITION_MODULE_IS_ISNOT_ACTIVE

Feature enabled

IS / IS NOT

Feature check

CONDITION_HTTPS_REQUEST_STATUS

Request result

STATUS

Response check

CONDITION_SUPPLIER_STATUS_IS_ISNOT

Supplier status

IS / IS NOT

Supplier check


Best Practices for Conditions

Do:

  • Use specific conditions

  • Test logic with samples

  • Order conditions logically

  • Have fallback for all paths

  • Document complex logic

Don't:

  • Create circular conditions (A if B, B if A)

  • Make conditions too complex

  • Forget about edge cases

  • Assume field always has value

  • Create impossible conditions


Combining Multiple Conditions


  • CONDITION_DOC_FIELD_CONTAINS - Field content check

  • CONDITION_COMPARE_TWO_DOCFIELD_VALUES - Field comparison

  • CONDITION_CHECKBOX_IS - Checkbox check

Last updated

Was this helpful?