Define a task relationship allowed from the task relationship type record
task brazil Updated Sep 10, 2026 1 min read t_DefineATaskRelationshipAllowed.md
Define the Task Relationships Allowed from the Task Relationship Type record.
Before you begin
Role required: admin
Procedure
-
Navigate to All > Task Relationships > Relationship Types.
-
Select a Task Relationship Type record.
-
In the Task Relationship Allowed related list, select New.
-
Populate the parent and child tables to define which tables are able to accept the relationship.
-
Define scripts to run in the Parent and Child script fields.
These scripts are run when a parent or child record is run to automatically generate the other task (child or parent). These scripts use the current value of the new record, as opposed to the source record which triggered the script.
-
Select Submit.
Parent Topic:Creating many-to-many task relations
42 lines · 1.7 KB
---
title: Define a task relationship allowed from the task relationship type record
description: Define the Task Relationships Allowed from the Task Relationship Type record.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/platform-administration/table-administration-and-data-management/t\_DefineATaskRelationshipAllowed.html
release: brazil
product: Table Administration and Data Management
classification: table-administration-and-data-management
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Many-to-many task relations, Working with Task table, Table admin, Tables and data, Configure core features, Administer the ServiceNow AI Platform]
---
# Define a task relationship allowed from the task relationship type record
Define the Task Relationships Allowed from the Task Relationship Type record.
## Before you begin
Role required: admin
## Procedure
1. Navigate to **All** > **Task Relationships** > **Relationship Types**.
2. Select a Task Relationship Type record.
3. In the Task Relationship Allowed related list, select **New**.
4. Populate the parent and child tables to define which tables are able to accept the relationship.
5. Define scripts to run in the Parent and Child script fields.
These scripts are run when a parent or child record is run to automatically generate the other task \(child or parent\). These scripts use the current value of the new record, as opposed to the source record which triggered the script.
6. Select **Submit**.
**Parent Topic:**[Creating many-to-many task relations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-administration/table-administration-and-data-management/c_ManyToManyTaskRelations.md)
| title | Define a task relationship allowed from the task relationship type record |
| description | Define the Task Relationships Allowed from the Task Relationship Type record. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-administration/table-administration-and-data-management/t\_DefineATaskRelationshipAllowed.html |
| release | brazil |
| product | Table Administration and Data Management |
| classification | table-administration-and-data-management |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Many-to-many task relationsWorking with Task tableTable adminTables and dataConfigure core featuresAdminister the ServiceNow AI Platform |