Posted: 12 Jun 2017 15:14 EDT Last activity: 13 Jun 2017 18:39 EDT
Retrieve the file name and content from Pega Server directory path
We have a requirement to retrieve the file name(which has appended with workobject-ID) and file content from Pega Server directory path and to accomplish it, we have used a Java custom code so just checking if there would be any OOTB way to handle this ?
We have configured a flowaction in the flow and when ever user opens that assignment and loads the the flow action, we are retrieving all the file names(appended with workobject-ID) from Pega Server directory path with the help of a Java code. Please note the mentioned activity has been referred as PreAction of the flowaction so that on load the flow action it will fetch the files from the Pega server directory.