Skip to main content
This guide shows how to apply different validation rules based on document characteristics. For example, invoices from certain vendors might require additional approval fields, or documents above a threshold might need extra verification.

The Goal

Apply conditional validation:
  • High-value invoices (over $10,000) require manager approval field
  • International vendors require additional tax documentation fields
  • Rush orders skip certain optional validations

What You’ll Create

Step 1: Create Feature Types

Invoice Value Tier

Vendor Location

Processing Priority

Step 2: Create the Validation Item Type

Step 3: Create Knowledge Items

High-Value Invoice Rules

International Vendor Rules

Rush Order Rules

Step 4: Create Knowledge Sets

High-Value Invoice Set

International Vendor Set

Rush Order Set

Combining Multiple Features

Knowledge Sets can require multiple features. For example, high-value international invoices might need extra scrutiny:

How Validation Works at Runtime

Viewing Validation Results

When validation rules are applied:
  1. Passed validations - Document proceeds to next step
  2. Failed validations (error) - Document is flagged with exceptions
  3. Failed validations (warning) - Document can proceed with manual override
  4. Informational - Notifications logged but processing continues
View applied knowledge and validation results in:
  • Document details panel
  • Exceptions list
  • Workflow search (filter by validation status)

Best Practices

1. Use Appropriate Severity Levels

  • Error: Critical business rules that must be met
  • Warning: Important but can be overridden with justification
  • Info: Nice-to-have or informational checks

2. Write Clear Error Messages

3. Document Your Rules

Use the description field to explain the business reason:

4. Test with Pending Review Status

Create Knowledge Sets with status: PENDING_REVIEW first to test without affecting production:

Next Steps