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:- Passed validations - Document proceeds to next step
- Failed validations (error) - Document is flagged with exceptions
- Failed validations (warning) - Document can proceed with manual override
- Informational - Notifications logged but processing continues
- 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 withstatus: PENDING_REVIEW first to test without affecting production:
Next Steps
- Knowledge Feature Types - Full reference
- Knowledge Item Types - Full reference
- Customizing Extraction - Another common use case
- Knowledge and Agents - Automate rule discovery
