Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 09:17 AM
Hi,
here is the detailed solution for this thread,
Sending attachments (ServiceNow to 3rd party)
1. Outbound Rest message- Need to ask for an endpoint of the 3rd party. Configure HTTP headers If any.
2. Use this Rest message in the business rule to send attachments
a. Call the rest message and simply send the binary content of the attachment to the request body using function request.setRequestBodyFromAttachment('<attachment sys_id>');
(RESTMessageV2 - setRequestBodyFromAttachment(String attachmentSysId) )
Screenshot of the business rule
Please Marked this question as the answered to close the thread.
Regards,