Posted: 3 years agoLast activity: 2 years 10 months ago
In Pega 7 how to create a folder inside a server directory like C:\Test. C drive has the read and write access.
My requirement is that I need to create a folder inside Server's C:\ directory based on current date.For e.g if today is 30/03/2017 then the folder structure would be like this C:\30032017 and after that I have to write/place a CSV file inside that folder.
***Updated by moderator: Lochan to update Categories***
Please note that using Java in a Java Step in a PRPC Activity; you generally need to fully-qualify all Java classes. (You can't do 'imports' in a Java Activity)
There are other examples in this forum of creating Activities with Java steps that give you the general idea. (Search for things Excel Creation/PDF creation/QR Code Creation - some of the answers show Java Steps in the solution).