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
}

List field contains any of

Determines whether any of the selected values in a multi-select list match any of the expected values.

Required properties

  • Type: Value must be List field contains any of.

  • Name: The name of the field to evaluate.

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

Optional properties

  • Delimiter: Boundary specifying separate values in a record field. Comma , is the default value when this property is omitted.

  • 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 Process field contains S2P or P2P. Field can contain other values and evaluate as true if O2C or P2P are present.

Copy
{
  "Type": "List Field Contains Any Of",
  "Name": "Process",
  "Values": ["S2P",”P2P”],
  "Delimiter": [","],
  "Ignore Case": true
}

For more information on all potential results, check out the table below:

List field contains any of Actual value Result
“S2P”,”P2P” S2P True
“S2P”,”P2P” P2P True
“S2P”,”P2P” P2P Process False
“S2P”,”P2P” P2P, S2P True
“S2P”,”P2P” O2C, L2C, P2P True
“S2P”,”P2P” O2C, L2C, P2P, S2P True
“S2P”,”P2P” O2C False
“S2P”,”P2P” O2C, L2C False

List field contains all of

Determines whether any of the selected values in a multi-select list match all the expected values.

Required properties

  • Type: Value must be List field contains all of.

  • Name: The name of the field to evaluate.

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

Optional properties

  • Delimiter: Boundary specifying separate values in a record field. Comma , is the default value when this property is omitted.

  • 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 Process field contains S2P and P2P.

Copy
{
  "Type": "List Field Contains All Of",
  "Name": "Process",
  "Values": ["S2P",”P2P”],
  "Delimiter": [","],
  "Ignore Case": true
}

For more information on all potential results, check out the table below:

List field contains any of Actual value Result
“S2P”,”P2P” S2P False
“S2P”,”P2P” P2P False
“S2P”,”P2P” P2P Process False
“S2P”,”P2P” P2P, S2P True
“S2P”,”P2P” O2C, L2C, P2P False
“S2P”,”P2P” O2C, L2C, P2P, S2P True
“S2P”,”P2P” O2C False
“S2P”,”P2P” O2C, L2C False