Converting File to byte array from an URL location
I am trying to convert a word file from an URL location to byte array, for doing so I used Pega OOTB activity GetEFormFromURL (Code-Pega-eForm). Passed URL as a param to this activity. But its returning null after the execution. To check the URL, I pasted the URL in browser and I could be able to download the file from that URL. Any help is appreciated.
***Edited by Moderator Marissa to update platform capability tags***
Thanks for the Reply. It worked, but in clipboard the converted value is not showing sometimes and sometimes it showing the java object code. So to check, I passed the same bytearray to AttachEform activity it converts back and attaches the file to workobject.