As an alternative to writing to the folders on the Orchestrator server system in which the administrator has set the appropriate permissions, you can write to the default temporary I/O folder.

Orchestrator has full read, write, and execute rights in the default temporary I/O folder by default. You obtain the default temporary I/O folder by using the System.getTempDirectory method in JavaScript functions

Include the following code line in JavaScript functions to access the java.io.temp-dir folder.

var tempDir = System.getTempDirectory()