Question5Replies104Views HenryA80 Member since 2015 52 posts Veteran Careers First Posted: 2 years agoLast activity: 2 years 3 months ago Closed Solved XML/CSV ‘File Name’ to DataBaseCurrently we have XML/CSV files that get dropped into a directory.Files are then picked up by listener, parsed, and sent to DB.The requirement is to get the ‘file name’ from each file and send to DB.The data inside the XML/CSV is parsed, and sent to DB but the ‘file name’ is not in the file.How do I get the ‘file name’ which is not in the file to be passed into PEGA and then onto the DB. Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years agoArun_Mahanty PEGA replied to HenryA80You can get the file name from LogServiceFile . which you need to write in the service File Activity ClipboardPage logServiceFilePage = tools.findPage("LogServiceFile"); String FileName= logServiceFilePage .getString("pyWorkFileName"); Thanks, Arun Posted: 2 years agoHenryA80 Veteran Careers First replied to Arun_MahantyThanks, I will give this a try. Accepted Solution Posted: 2 years agoHenryA80 Veteran Careers First replied to HenryA80It works! Thanks! Posted: 2 years agoArun_Mahanty PEGA replied to HenryA80Glad it worked for you could you mark my post as answered . Thanks, Arun Posted: 2 years agoHenryA80 Veteran Careers First replied to Arun_MahantyI marked it as 'Correct Answer'