COREFILEOPS
Use this function library to read files that are stored in flow attachments.
readAttachmentAsString
Reads the content of the attachment whose filename is provided as input parameter and stores the content as string into a global variable specified in the OP Variable Name column. The encoding of the file needs to be specified as a second input parameter.
Usage:
readAttachmentAsString(String fileName, String fileEncoding)
readAttachmentAsString("testFile.txt","UTF-8")
 
Input Parameters:
fileName - name of file in flow attachments
fileEncoding - encoding of the file being read
 
Return Type: String