---
schema_version: "1"
id: 26651ff2f967fa8a9cf8b4fbcaa6353802074f19405d4ddba1e2ad6d37609c6f
title: Validation Controls with Expression Sets
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/business_compliance_suite_validation_control_expression_set_overview.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.business_compliance_suite_validation_control_expression_set_overview.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7e6361ccd0b3b7a1ec46b82eaf26c1bfba884f03039e43203c7ccd3fb685ef46
description: Automate compliance controls by using context definitions and business rule logic. Context definitions contain a set of information that's required to run a validation control. Expression sets represent the business logic that enforces compliance requirements.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Validation Controls with Expression Sets

Automate compliance controls by using context definitions and business rule logic. Context definitions contain a set of information that's required to run a validation control. Expression sets represent the business logic that enforces compliance requirements.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: All Industry Clouds, Sales Cloud, Service Cloud <a href="https://help.salesforce.com/s/articleView?id=ind.business_compliance_suite_editions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported editions and availability for Process Compliance Navigator.">View editions availability</a>.</td></tr></tbody></table>

- **[Context Definition for Compliance Controls](https://help.salesforce.com/s/articleView?id=ind.business_compliance_suite_validation_control_context_definition.htm&release=264.0.0&type=5)**  
    Use a context definition to create the resources that are referenced in the expression set and used to run a compliance control. A context definition describes the relationship between a node and the attributes that are set in a hierarchical structure. To make sure that the right data is retrieved from the source objects, map the nodes and attributes in your context definition to the source object. Context tags make sure that the data is queried from source objects in the Business Rules Engine expression set.
- **[Create an Expression Set for Compliance Controls](https://help.salesforce.com/s/articleView?id=ind.business_compliance_suite_validation_control_expression_set.htm&release=264.0.0&type=5)**  
    Expression sets consist of a series of steps connected in a logical flow built from variables, constants, conditions, calculations, lookups, and aggregations. Create an expression set with conditions to verify compliance, and add the compliance check element to indicate whether the control is compliant or not.