Question
Pegasystems Inc.
JP
Last activity: 25 Jun 2019 2:40 EDT
How to get the absolute path to the root directory of pega temp dir
Is there any Engine API which returns the FULL path to the root directory of Pega temp dir?
FULL path means "file://web:" or "file://default:" is replaced with the absolute path.
***Edited by Moderator: Pallavi to update platform capability tags***

Hello,
You can try the below code to get the absolute path of the Pega temp directory,
tools.getSystemSettings().getFSSetting("initialization/explicittempdir", "" , true, false);
Hope it might help you.
Regards,
Mahesh M