Question

2
Replies
248
Views
ARPITA Member since 2011 7 posts
Accenture
Posted: May 8, 2019
Last activity: May 9, 2019
Closed
Solved

Can I override the Pega server as the default file saving location to any other location

I am using an OOTB Java snippet to generate some files as per my requirement.

However I do not want to save the new files into Pega Server. What changes need to be done if I want to save into my local machine?This code is generating files and saving them perfectly into the Pega Server.

try {
PRFile prFile=new PRFile("C:\\PegaRPA\\"+FileName);
PROutputStream pros=new PROutputStream( prFile );
PRWriter pw=new PRWriter("C:\\PegaRPA\\"+pros, "UTF-8");
pw.write(TxtOutput);
pw.close();
pros.close();

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn