COREFILEOPS
Use this function library to read files that are stored in flow attachments.
This section provides a list of functions in the library, along with the usage details.
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 Output 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: The name of file in flow attachments
fileEncoding: The encoding of the file being read
 
Return Type: String