Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create remote task definitions in Service Exchange for Providers in Public Sector Digital Services

As a government agency provider, you can create remote task definitions that trigger the assignment of remote task(s) to your constituent. Remote tasks originate in the agency provider instance (where they auto-create an associated government case record), and are pushed to your constituent through the Government Service Portal, enabling both provider and consumer to keep case records and details in sync.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Service Bridge Provider > Administration > Remote Task Definitions.

  2. Click New.

  3. On the form, fill in the fields.

FieldDescription
NameName of the remote task definition record.
ApplicationThis is a read only field and is set by default based on the application scope.
StateShows 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 tableAny task table that you select from the list. For example, you can choose a case table or an incident table.
Consumer tableAny task table that you select from the list. For example, you can choose a case table or an incident table.
CompatibilityThis 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 is not using a compatible version, any new remote task definitions cannot be activated until the corresponding Service Exchange version is upgraded.
Maintain SysIDIf this field is checked, then the unique identifier, SysID, associated with the parent that created the remote task will be used and assigned to the parent task created for the remote task on the consumer instance.
Send attachmentsIf this is selected, if an attachment is added on the parent record, it is sent to the remote task.
Copy attachment to parentIf an attachment is included with a remote task, a copy is sent to the parent record.
Short descriptionBrief information about this remote task definition.
DescriptionMore detailed information about this remote task definition.
  1. Click Submit.

  2. Open this new Remote task definition record.

  3. On the Inbound fields related tab, click New.

  4. On the form, fill in the fields.

    The inbound fields enable you to receive data from the consumer's instance when a remote task is created or updated.

    Note: If the inbound field values are updated, the updated information is shown in a work note on the parent record.

FieldDescription
Field labelField label that appears on the remote task form.
Field nameField name that is used in the remote task flow and script.
Max lengthMaximum length of the source field name.
Sync whenEnables 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.
Source Mapping tabThis tab is not displayed if you have selected the Virtual check box to define a virtual field mapping.
Source table \(read-only\)The Consumer table that you selected while creating the remote task definition.
Source fieldField from the source table that is sent to another ServiceNow instance.Source fields allow for Dot-walking to data in related tables, 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 tabDisplayed 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 fieldField from the target table that is sent to another ServiceNow instance.Note: If you are defining a virtual field mapping, the field you select in the target table is not present in the source table.
ActiveThis field is enabled by default.
VirtualSelect 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 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 or by using the `updateVirtualField` API.
  1. Click Submit.

  2. On the Outbound fields related tab, click New.

  3. On the form, fill in the fields.

    The outbound fields enable you to send data to the consumer's instance when a remote task is created or updated.

FieldDescription
Field labelName of the field label that appears on the remote task form.
Field nameField name that is used in the remote task flow and script.
Max lengthMaximum length of the field name.
Sync when suggestionEnables 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.
Source Mapping tabThis tab is not displayed if you have selected the Virtual check box to define a virtual field mapping.
Source table \(read-only\)The Provider table that you selected while creating the remote task definition.
Source fieldField from the source table that is sent to another ServiceNow instance.Source fields allow for Dot-walking to data in related tables, 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 tabDisplayed 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 Consumer table that you selected while creating the remote task definition.
Target fieldField from the target table that is sent to another ServiceNow instance.Note: If you are defining a virtual field mapping, the field you select in the target table is not present in the source table.
ActiveThis field is enabled by default.
VirtualSelect 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 or by using the `updateVirtualField API`.
  1. Click Submit.

  2. On the Consumer criteria related tab, click New.

  3. On the form, fill in the fields.

    Consumer criteria enable you to manage which consumers can use these remote task definitions.

    FieldDescription
    Consumer conditionCustomer company or account that you want this remote task definition to be entitled to.
    Remote task definitionName of this remote task definition record. This name is auto-filled.

    For more details on consumer criteria, see Creating entitlements in Service Exchange for Providers.

  4. Click Publish.

    Remote task variables are automatically created when you publish a remote task definition. These variables are the data variables for the inbound fields displayed and can be accessed on the remote tasks.

Result

A remote task definition record is created on your instance. This record is also synchronized with your customer's instance and is now pending activation on your consumer's instance. If the Auto activate remote task definition field has been enabled by the consumer, the remote task definition is automatically activated on your consumer's instance.