Learn how to create blocks of Case data evaluation expressions that you can reuse in multiple Safety Reporting Rules.

About Safety Data Expression Building Blocks

With Safety Data Expression Building Blocks, you can create Case data evaluation expressions that you can combine and reuse in any number of Safety Rules with the Safety Data Expression Building Blocks reporting rule parameter. This provides an efficient way to create Safety Rules that share similar Case data evaluation requirements and reduces the administrative effort required to maintain large groups of Safety Rules.

Create Safety Data Expression Building Blocks

To create a Safety Data Expression Building Block:

  1. Navigate to Business Admin > Objects > Safety Data Expression Building Blocks.
  2. Select Create.
  3. Complete the applicable fields.
  4. Select Save.

Safety Data Expression Building Block Fields

The following fields may be available:

Field Description
Name Enter a unique name for the Safety Data Expression Building Block.
Building Block Expression

Enter a Case data evaluation expression.

The expression must be a VS_LET function with one (1) of the following objects as the start of the path_to_validating_records:

  • eligible_case_assessments__v
  • eligible_localized_case_assessments__v
  • case_version__v
  • localized_case__v

Vault evaluates the expression whenever the Rule Engine runs a Safety Rule Set on a Case that contains a Safety Data Expression Building Blocks rule parameter that references this Safety Data Expression Building Block.

For help with writing Case data evaluation expressions, see Configure Custom Validation Criteria and Create Formula Expressions.

API Name

Enter a unique __c API name for this Safety Data Expression Building Block.

When creating a Safety Rule Parameter of the type Safety Data Expression Building Blocks that uses this building block, enter this API Name in the Value field of the rule parameter.