I am having a task failure and cannot figure out why. Posting the section of Action Script here, hopeful for some assistance. If I run the powershell script referenced by “encryptionScriptSingleArgFile” it runs successfully on its own and creates the referenced file “fileWithEncryptedHash”. However in the task it fails on the verification, because the file is not getting created. Any ideas? Please let me know if additional info is needed. Thank you!
Completed parameter "fileWithEncryptedHash" = "C:\App\JumpMind\work\fullyEncryptedJasypt.txt"
Completed // # DELETE THE OLDER FILE WITH THE ENCRYPTED PASSWORD
Completed if {exists file (parameter "fileWithEncryptedHash")}
Completed delete {parameter "fileWithEncryptedHash"}
Completed endif
Completed // # RUN THE POWERSHELL TO REGENERATE THE FILE WITH THE FRESHLY ENCRYPTED PASSWORD
Completed parameter "keyToUseForDecryption" = "xxxxxxxxx"
Completed // # This is to add for Private Key
Completed waithidden powershell.exe -noninteractive -nologo -command . {parameter "encryptionScriptSingleArgFile"} "{parameter "synchPriKeyPlainTextFile"}" "{parameter "keyToUseForDecryption"}"
Completed dos timeout /T 2
Failed continue if {exists file (parameter "fileWithEncryptedHash")}