Field evaluation constraints

Tricentis Vera supports the following field evaluation constraint types:

Field is greater than or equal

Determines whether the specified integer field contains a value that is greater than or equal to the specified comparison value.

Required properties

  • Type: Value must be Field is greater than or equal.

  • Name: The name of the field to evaluate.

  • Value: The value to compare against the field's current value. Must be an integer.

Evaluation

  • True: The field's current value is greater than or equal to the comparison value.

  • False: The field's current value is less than the comparison value.

Example

Verify whether the Risk field is greater than or equal to 4.

Copy
{
  "Type": "Field Is Greater Than Or Equal",
  "Name": "Risk",
  "Value": "4"
}

Field is empty

Determines whether the specified field contains a value.

Required properties

  • Type: Value must be Field is empty.

  • Name: The name of the field to evaluate.

Evaluation

  • True: The field has no value.

  • False: The field has a value.

Example

Verify whether the current record is missing a value in the Regulation field.

Copy
{
  "Type": "Field Is Empty",
  "Name": "Regulation"
}

Field is equal

Determines whether the specified field contains a value that is equal to the specified comparison value.

Required properties

  • Type: Value must be Field is equal.

  • Name: The name of the field to evaluate.

  • Value: The value to compare against the field's current value.

Optional properties

  • Ignore Case: Yes or No; Ignore case-sensitivity during the comparison. No is the default behavior when this property is omitted. (i.e. Comparisons are case-sensitive by default.)

Evaluation

  • True: The field's current value is equal to the comparison value.

  • False: The field's current value is not equal to the comparison value.

Example

Verify whether the Type field is set to Data migration.

Copy
{
  "Type": "Field Is Equal",
  "Name": "Type",
  "Value": "Data Migration",
  "Ignore Case": true
}

Field is less than or equal

Determines whether the specified integer field contains a value that is less than or equal to the specified comparison value.

Required properties

  • Type: Value must be Field is less than or equal.

  • Name: The name of the field to evaluate.

  • Value: The value to compare against the field's current value. Must be an integer.

Evaluation

  • True: The field's current value is less than or equal to the comparison value.

  • False: The field's current value is greater than the comparison value.

Example

Verify whether the Risk field is less than or equal to 3.

Copy
{
  "Type": "Field Is Less Than Or Equal",
  "Name": "Risk",
  "Value": "3"
}

Field is not empty

Determines whether the specified field does not contain a value.

Required properties

  • Type: Value must be Field is not empty.

  • Name: The name of the field to evaluate.

Evaluation

  • True: The field has a value.

  • False: The field has no value.

Example

Verify whether the current record has a Type.

Copy
{
  "Type": "Field Is Not Empty",
  "Name": "Type"
}

Field is not equal

Determines whether the specified field contains a value that is not equal to the specified comparison value.

Required properties

  • Type: Value must be Field is not equal.

  • Name: The name of the field to evaluate.

  • Value: The value to compare against the field's current value.

Optional properties

Ignore Case: Yes or No; Ignore case-sensitivity during the comparison. No is the default behavior when this property is omitted. (i.e. Comparisons are case-sensitive by default.)

Evaluation

  • True: The field's current value is not equal to the comparison value.

  • False: The field's current value is equal to the comparison value.

Example

Verify whether the Regulation field is not set to GxP.

Copy
{
  "Type": "Field Is Not Equal",
  "Name": "Regulation",
  "Value": "GxP",
  "Ignore Case": true
}

Field is not one of

Determines whether the specified field matches none of the specified values.

Required properties

  • Type: Value must be Field is not one of

  • Name: The name of the field to evaluate.

  • Values: The values to compare against the field's current value.

Optional properties

Ignore Case: Yes or No; Ignore case-sensitivity during the comparison. No is the default behavior when this property is omitted. (i.e. Comparisons are case-sensitive by default.)

Evaluation

  • True: The field's current value is not equal to one of the comparison values.

  • False: The field's current value is equal to one of the comparison values.

Example

Verify whether the value in the Regulation field is not equal to GxP, SOX, or SOX & GxP.

Copy
{
  "Type": "Field Is Not One Of",
  "Name": "Regulation",
  "Values": ["GxP", "SOX", "SOX & GxP"],
  "Ignore Case": true
}

Field is one of

Determines whether the specified field matches any of the specified values.

Required properties

  • Type: Value must be Field is one of.

  • Name: The name of the field to evaluate.

  • Values: The values to compare against the field's current value.

Optional properties

Ignore Case: Yes or No; Ignore case-sensitivity during the comparison. No is the default behavior when this property is omitted. (i.e. Comparisons are case-sensitive by default.)

Evaluation

  • True: The field's current value is equal to one of the comparison values.

  • False: The field's current value is not equal to one of the comparison values.

Example

Verify whether the value in the Type field is equal to Configuration, System, or Acceptance.

Copy
{
  "Type": "Field Is One Of",
  "Name": "Type",
  "Values": ["Configuration", "System", "Acceptance"],
  "Ignore Case": true
}

Field contains

Determines whether the specified field contains the specified content.

Required properties

  • Type: Value must be Field contains.

  • Name: The name of the field to evaluate.

  • Value: The content to search for in the field's current content.

Optional properties

Ignore Case: Yes or No; Ignore case-sensitivity during the comparison. No is the default behavior when this property is omitted (i.e. Comparisons are case-sensitive by default).

Evaluation

  • True: The field's current content contains the comparison content.

  • False: The field's current content doesn't contain the comparison content.

Example

Verify whether the value in the Type field contains System.

Copy
{
  "Type": "Field Contains",
  "Name": "Type",
  "Value": ["System"],
  "Ignore Case": true
}