Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

send attachment to third party

Divya149
Tera Contributor

HI All,

I have written BR to send the attachment to third party system, it is working when attachment is added after record is created . But when I try to send attachment during record creation it is failing to post attachment in third party system , probably that is bcz the API call for particular record in third party which is yet to be created .

Below id the BR , can any one help how to post attachment during record is submitted:

find_real_file.png

3 REPLIES 3

Community Alums
Not applicable

Hi Divya,

Here is the link with the approach:

Business rule to send attachment to 3rd Party Tool via REST

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

because possibly by that time the sys_attachment doesn't have the record inserted

why not have BR on your table u_smart_sheet ?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

mr_zia
Giga Guru

Hi,

I am facing same issue, Prior to ebond what ever attachment is there on the incident form, I want them to send over to 3rd party when triggering ebond.

 

Is this possible?