Workflow Soluiton

 View Only
  • 1.  Extract text from attached file

    Posted Nov 03, 2011 09:12 AM

    I am trying to create a workflow with autostart from Email.

    The flow is monitoring an exchange mailbox where a SMS gateway delivers incoming SMS. the SMS text is attached as a .txt file.

    I need to extract the text inside the txt file and do some further processing.

    I have tried the "Build text from element" and tried to save file and then "Read File" but no matter I just get a number back, not the text.

    Can some one give me assistance.



  • 2.  RE: Extract text from attached file
    Best Answer

    Posted Nov 03, 2011 11:48 AM

    Read File should put the .txt file on the stream as a FileDataType. Once the FileDataType is on the stream, you can use the Byte Array To Text component on the FileDataType's Contents (the Contents of a FileDataType are a byte array) to convert it to text.