ServiceDesk

 View Only
  • 1.  Pulling attachments from Document Category

    Posted Mar 26, 2014 05:06 PM

    I need to pull all of the documents from a process and send them in byte array format to an external web service for another product.   I'm able to pull the IncidentDocumentId value for the process in question and get the Document ID's for each document, however I'm not seeing anything that gives me the actual data for the file in question.  Can anyone point me in the right direction?   Also, I'm assuming the actual file data when outputed to a variable will be in byte array format?



  • 2.  RE: Pulling attachments from Document Category
    Best Answer

    Broadcom Employee
    Posted Mar 26, 2014 05:12 PM

    If I remember correctly you need to use the Get Document Version data to actually load the byte data for the file. 



  • 3.  RE: Pulling attachments from Document Category

    Posted Mar 26, 2014 05:41 PM

    Thank you!   That worked.



  • 4.  RE: Pulling attachments from Document Category

    Posted Mar 28, 2014 01:11 PM

    One other question.   In the Get Document Version Data component it has compression value.   You wouldn't happen to know what kind of compression it's performing would you?



  • 5.  RE: Pulling attachments from Document Category

    Broadcom Employee
    Posted Mar 28, 2014 01:29 PM

    Justin,

    I'm not sure of the compression. I remember when I used it for something I had to play with that setting to get the file pulled & saved properly to a location on the hard disk though.