I wasn't sure if I should add to another thread or create a new one. I figured less harm in creating a new one? Hopefully this is the right thing to do.
I, like it appears many others have, am struggling with executing VBScript from a TI Process. I have looked at other threads and have tried quite a few things but nothing seems to be working.
I have a VBScript file that I can execute without problems when I double-click on it, or when executing from a command prompt. The VBScript does two things: it pings a server/table to retrieve the amount of records and then sends an email with those results.
The TI Process has absolutely nothing in it except the following and it's on the Epilog tab:
Code: Select all
ExecuteCommand('"C:\windows\system32\cscript.exe" "\\analyst-app\libraries\TM1\Common\Scripts\TM1 TEST.vbs"',1);
I have tried changing it to sysWOW64 as well and no luck. I have also added a folder named "Desktop" in the following locations: C:\Windows\SysWOW64\config\systemprofile\ and C:\Windows\System32\config\systemprofile\ per another thread. I then also just physically rebooted the server and tried again.
No luck

I am not sure if maybe I need to install "Blat" on the server? The VBScript I am using is using Outlook currently and I have outlook installed on my desktop (but then again, it's also installed on the server). I'm a bit confused as to next steps? Why it works directly and via command prompt, but not via TI Process.
Any ideas? Thanks as always!