How to print/log base 64 encoded attachment?

Suggy
Giga Sage

We are using 'setRequestBodyFromAttachment ' to send attachments, which I know it converts the attachment to base64 encoded format.

How to print/log that payload? What ever I do, it prints 'undefined'.

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Suggy 

please share your script and screenshots.

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