How can we Fetch Word document data from SYS attachment (have to write Business rule in JS)

MoulikS
Tera Contributor

Hi all,
I am writing a business rule where i have to fetch the word document data from the sys attachment table. The script is written in JS so i want a way to fetch the data from the word document using Java script (Glide record is not working).

 

If your solution is in java or by using any other APIs then also provide the instructions how to use them in our scripts.

 

Thankyou 

Moulik Singhai

1 REPLY 1

Valmik Patil1
Kilo Sage

Hello @MoulikS ,

 

Found one article which might help you,
https://www.servicenow.com/community/developer-articles/reading-attachment-contents-copying-attachme...
But not sure if we can read content form word document, no API available for that.

 

Thanks,

Valmik Patil