I would like to use the task logic type 'windows command' in combination with powershell to execute the following command: [Environment]::GetFolderPath('MyDocuments').
In powershell this will retrieve the MyDocuments path and it should be passed into an output variable so I can use it in a processflow.
Is this possible?
Page 1 / 1
Executing PowerShell commands using the PowerShell CLI would probably work, but it is not possible to retrieve the result and store it in a process flow variable at the moment.
An alternative solution may be that we add support for using environment variables, like %userprofile%\Documents or %temp%, in process flow connectors. This is fairly easy to implement, please post an idea if desired.
An alternative solution may be that we add support for using environment variables, like %userprofile%\Documents or %temp%, in process flow connectors. This is fairly easy to implement, please post an idea if desired.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.