Kenny Caldwell
ServiceNow Employee
ServiceNow Employee

 

Remote Tasks are used to connect tasks between two ServiceNow instances. These tasks can be any task in a ServiceNow instance such as incident, problem, change, case, etc. The connection is defined in the Remote Task Definition.

 

When the connection is made Service Bridge (v1 or v2) does not send attachments that exist on a task before the connection is made.  This is by design for security reasons. Because many different providers can be connected to a single task over time, it was decided not to assume all attachments should be shared. 

 

To sync existing attachments, the following Flow can be created in the Provider instance, Consumer instance, or both. If the instance which initiates the Remote Task has the Flow, then all attachments on the task will be synced.

 

 

Note: Based on feedback this post has been updated to use a flow instead of a business rule. An update set containing this Flow is included with this post. This is a custom solution not included in the Service Bridge application and is provided "AS-IS". Ensure to test thoroughly before implementing a solution in a production environment.

 

 

Flow - Copy Attachment from Parent

 

Copy Attachments from Parent - Flow.png

 

 

Flow Properties

 

Copy Attachments from Parent - Flow Properties.png

 

 

Flow Trigger

 

Copy Attachment from Parent - Flow Trigger.png

 

Flow Action 1

 

Copy Attachment from Parent - Flow Action 1.png

 

Flow Action 2

 

Copy Attachment from Parent - Flow Action 2.png

 

Flow Action 3

 

Copy Attachment from Parent - Flow Action 3.png

1 Comment
Thomas Geesman
Tera Contributor

Good write up and thank you proposed solution.

 

I would like to see this become a setting at some point. Likely on the remote task definition.