execCommand() is not working in workflow.
Hello Everyone,
execCommand() is not working in a JS activity in a workflow on application server.
There is on-premise instance and build is 9032.
Configuration is serverConfig.xml:
<!-- Command execution
blacklistFile : Path to the file containing the commands to blacklist
user : Execute commands as a different user -->
<exec blacklistFile="" user=""/>
JS Code:
logInfo(execCommand("cd",true));
Error:
BAS-010076 Cannot execute command 'cd' (err=2, the system cannot find the file specified.).
I am getting same error for every commands.
Please let me know if you have any question.
Thanks.
Parvesh.