--- title: Create a remote task definition in Service Exchange for Providers description: As a provider, create remote task definitions \(RTD\) that trigger the assignment of a remote task. locale: en-US canonical_url: https://www.servicenow.com/docs/r/service-exchange/service-bridge-v2-create-remote-tasks-defs.html release: brazil product: Service Exchange classification: service-exchange topic_type: task last_updated: "2026-09-10" reading_time_minutes: 10 breadcrumb: [Remote task definition, Configure for providers, Service Exchange for Providers, Service Exchange] --- # Create a remote task definition in Service Exchange for Providers As a provider, create remote task definitions \(RTD\) that trigger the assignment of a remote task. ## Before you begin Role required: admin ## About this task Before you can create a remote task, you must first create an RTD. A remote task is generated based on the RTD you define. To learn more about how RTD and remote task works, see [Remote tasks](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/service-exchange/service-bridge-v2-remote-task-overview.md). ## Procedure 1. Navigate to **All** > **Service Exchange Provider** > **Administration** > **Remote Task Definitions**. 2. Select **New**. 3. On the form, fill in the fields.
| Field | Description |
|---|---|
| Name | Name of the remote task definition record. |
| Application | This is a read-only field and is set by default based on the application scope. |
| State | Shows the status of the remote task definition. When you create a remote task definition, this field is set to the **Draft** state. **Note:** This field is automatically updated when you Publish, Archive, or Retire a remote task definition. |
| Provider table | Any task table that you select from the list. For example, you can choose a case table or an incident table. |
| Consumer table | Any task table that you select from the list. For example, you can choose a case table or an incident table. |
| Compatibility | This field is populated by default. It shows the Service Exchange version that is being used by the provider. If the consumer is using a compatible Service Exchange version, data can be synced between the provider and consumer instances. But if the consumer isn’t using a compatible version, any new remote task definitions can’t be activated until the corresponding Service Exchange version is upgraded. |
| Send attachments | Option to enable sending an attachment added on the parent record to the remote task.**Note:** When data, such as an attachment or task, is shared with another instance through Service Exchange, it becomes part of that instance’s data. Service Exchange does not delete data on remote instances; the receiving instance must handle the deletion if required. |
| Maintain SysID | Option that enables the system to create the new parent task on the consumer instance with the same sys\_id as the parent record on the provider instance. |
| Short description | Brief information about this remote task definition. |
| Description | More detailed information about this remote task definition. |
| Field | Description |
|---|---|
| Field label | Field label that appears on the remote task form. |
| Field name | Field name that is used in the remote task flow and script. |
| Max length | Maximum length of the source field name. |
| Sync when | Enables you to specify when a target field on the remote task's parent record is directly updated. You can select:- **Insert:** Updates the target field on the remote task's parent record only when the remote task is initially inserted. - **Insert or Update**: Updates the target field on the remote task's parent record every time the remote task is updated. - **Never**: The inbound field never updates a target field on the remote task's parent record directly. For example, you can use this field for state mapping where a flow is used to convert the incoming value before updating the target field. **Note:** Irrespective of the option you select here, whenever an inbound field is updated, the changes are reflected in a worknote on parent record. |
| Application | This is a read-only field and is set by default based on the application scope. |
| Remote task definition | Name of the remote task definition that this inbound field maps to. |
| Active | This field is enabled by default. |
| Virtual | Option to enable virtual inbound field mapping. A virtual field is a field that is present in the target table but does not exist in the source table.When a source table doesn’t contain a field that exists on a target table, the field is configured as a virtual field. The values specified for the virtual field are passed from the source instance to the target instance. The consumer can create a remote task to sync data and update the value of the virtual field in the associated target task record. The target field can be updated either by using the Virtual Inbound option described in the [Create a transform in Service Exchange](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/service-exchange/service-bridge-v2-create-transform.md) or by using the `updateVirtualField` API. |
| Source Mapping | This tab appears only when **Virtual** check box is selected to define a virtual field mapping. |
| Source table \(read-only\) | The Consumer table that you selected while creating the remote task definition. |
| Source field | Field from the source table that is sent to another ServiceNow instance.Source fields allow for [Dot-walking to data in related tables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-user-interface/c_DotWalking.md), which is useful when reference data is not available between ServiceNow instances. For example, you can create multiple inbound mappings for change incidents \(CIs\) to include the name, class, IP address, and asset tag. |
| Target Mapping | This tab displays only in the following conditions:- Sync when: You select **Insert** or **Insert or update**. - Virtual: You select this check box to enable virtual field mapping. |
| Target table \(read-only\) | The Provider table that you selected while creating the remote task definition. |
| Target field | Field from the target table that is sent to another ServiceNow instance.**Note:** If you're defining a virtual field mapping, the field you select in the target table is not present in the source table. |
| Field | Description |
|---|---|
| Field label | Name of the field label that appears on the remote task form. |
| Field name | Field name that is used in the remote task flow and script. |
| Max length | Maximum length of the field name. |
| Sync when suggestion | Enables you \(the provider\) to suggest to the consumer when a target field on the remote task's parent record should be directly updated. The consumer can change this setting before activating the definition- **Insert**: Updates the target field on the remote task's parent record only when the remote task is initially inserted. - **Insert or Update**: Updates the target field on the remote task's parent record every time the remote task is updated. - **Never**: The inbound field never updates a target field on the remote task's parent record directly. For example, you can use this field for state mapping where a flow is used to convert the incoming value before updating the target field. |
| Application | This is a read-only field and is set by default based on the application scope. |
| Remote task definition | Name of the remote task definition that this outbound field belongs to. |
| Active | This field is enabled by default. |
| Virtual | Select this check box to enable virtual inbound field mapping. A virtual field is a field that is present in the target table but does not exist in the source table. When a source table doesn’t contain a field that exists on a target table, the field is configured as a virtual field. The values specified for the virtual field are passed from the source instance to the target instance. The target field can be updated either by using the Virtual Outbound option described in the [Create a transform in Service Exchange](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/service-exchange/service-bridge-v2-create-transform.md) or by using the `updateVirtualField API`. |
| Sync pre-existing entries | Option to enable synchronization of all existing comments to the target task when a connection is established. If enabled, any comments made prior to the connection gets included in the sync process when a remote task is created.**Note:** This feature is available from Service Exchange version 2.2.x. |
| Source Mapping | This tab appears only when **Virtual** check box is selected to define a virtual field mapping. |
| Source table \(read-only\) | The Provider table that you selected while creating the remote task definition. |
| Source field | Field from the source table that is sent to another ServiceNow instance.Source fields allow for [Dot-walking to data in related tables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-user-interface/c_DotWalking.md), which is useful when reference data is not available between ServiceNow instances. For example, you can create multiple inbound mappings for change incidents \(CIs\) to include the name, class, IP address, and asset tag. **Note:** From Service Exchange version 2.2.x, you can create |
| Target Mapping | This tab displays only in the following conditions:- Sync when: You select **Insert** or **Insert or update**. - Virtual: You select this check box to enable virtual field mapping. |
| Target table | The Consumer table that you selected while creating the remote task definition. This is a read-only field. |
| Target field | Field from the target table that is sent to another ServiceNow instance.**Note:** If you're defining a virtual field mapping, the field you select in the target table is not present in the source table. |