Skip to content

Class: metadata

Validation rules enhance data quality by comparing user-entered data with Admin-defined rules for an object record.

AttributeMetadataDescription
labelType: String
Required
Max length: 40
UI-friendly string in the Vault’s base language.
activeType: Boolean
Required
Indicates whether the validation is active.
expressionType: String
Required
Max length: 3900
A valid expression.
descriptionType: String
Max length: 255
Describes the details of the validation rule.
error_messageType: String
Required
Max length: 255
Describes the error that displays if the rule fails.
error_locationType: String
Required
Max length: 255
Multi-value
Select fields for the error location.
OperationSupport
Create
Recreate
Alter*
Drop
Rename
Describe
Generate Recreate
Queryable

Notes:

  • Alter: MDL Operation may not be supported for some multi-value attributes.