---
sourceDocument: Brazil Telecommunications, Media, and Technology
sourceDocumentLink: https://www.servicenow.com/docs/r/telecom-media-technology

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Telecommunications, Media, and Technology

ft:clusterId :

    - telmt

bundleId :

    - telmt

workflow :

    - Customer and Industry


---

# Define conditions

# Define conditions for a test group relationship {#ariaid-title1}

Release version: Brazil  
Updated October 26, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Add conditions to the relationship between a specification and a test group so that the test group applies only to product inventory records that meet the conditions.

## Before you begin

The test group must be in the Published state. See [Publish a test group](https://www.servicenow.com/docs/f~bNo9ck8VJZFMIWDcIhgA "Publish a test group so that you can relate it to a specification or a product model and your teams see only approved test groups.").

Create the relationship between the test group and the specification. See [Associate a test group to a specifications or product model](https://www.servicenow.com/docs/zx99FrmgO5c7cngtCeIQlQ "Establish a relationship between test groups and their respective specifications or product model to determine the tests that must be executed for a given inventory. This relationship confirms that the appropriate tests are identified and executed based on the defined specifications. Without this association, the system can’t accurately assign the necessary tests for each inventory item.").

The Product Model plugin (com.sn_prd_pm) must be active, because you set conditions for a specification. See [Plugins installed with Service Test Management](https://www.servicenow.com/docs/Qs8One~cB18gRXIUQRdk1w "Review the plugins that Service Test Management requires and the optional plugins that add characteristics, test decomposition, and conditional test groups.").

The Product Inventory plugin (com.sn_prd_invt) must be active.

Role required: sn_st_mgmt.test_def_creator

## Procedure

1. Navigate to AllService Test ManagementTest GroupsAll.
2. Select the test group that you want to open.
3. In the Specification To Test Group Relationships related list, open the relationship that you want to add conditions to, or select New.
4. On the form, fill in the fields.  
   {#define-conditions-for-test-group-relationship__table_cnd_04d_5ef__entry__2}

   | Field | Description |
   |-|-|
   | Specification | Select the specification. The fields for the conditions appear only after you select a specification. You can't set conditions when you select a product model. |
   | Product inventory table | Select the table whose records the conditions apply to. The list shows the Product Inventory table and its child tables. |
   | Conditions | Define the conditions. When you select a specification, the system adds a condition for that specification. The system keeps the other conditions that you define. |
   [Table 1. Specification To Test Group Relationship]

   {#define-conditions-for-test-group-relationship__table_cnd_04d_5ef}
5. Select Submit.

## Result

The test group applies to a product inventory record only when the record has the specification and meets the conditions. Relationships without conditions continue to apply as before.

The system saves a relationship only if you provide either a specification or a product model. Conditions can't be set together with a product model.

## What to do next

To scope the test group to more than one set of conditions, create another relationship for the same specification with different conditions or a different product inventory table. The system treats relationships that differ by conditions or by product inventory table as different relationships.

*[\>]: and then


