Executing VB Script via Scheduled TI process
Posted: Fri Jun 11, 2010 6:43 am
Hi All ,
We face Issues in EV while giving restricted/limited access to users. We use element level security in our department dimension . EV fails to get the full outline of the dimension structure and the restricted user will get "Invalid Outline defenition Error" while opening reports . The workaround to reslove this error is to run VB scripts manually to do a forced preload for the particular database connection . We have been doing this manually .
I was trying to Schedule the VB Script run via TI process . So I wrote the following commands in the epilog part of a new TI process
ExecuteCommand('D:\bat\ActualsPnL.bat',0);
ExecuteCommand('D:\bat\Attrition.bat',0);
ExecuteCommand('D:\bat\GL_ActualsVsBudgets.bat',0);
ExecuteCommand('D:\bat\ResourceCategories.bat',0);
ExecuteCommand('D:\bat\ResourceP&L.bat',0);
I am also attaching the VB Scripts and .bat files for your reference.
But when I run the process , I can see many cmd.exe process generated (In task Manager ) and nothing happened , I had to kill those cmd.exe's.
Could you please correct me on where I went wrong ?
Thanks & Regards
Anoop
We face Issues in EV while giving restricted/limited access to users. We use element level security in our department dimension . EV fails to get the full outline of the dimension structure and the restricted user will get "Invalid Outline defenition Error" while opening reports . The workaround to reslove this error is to run VB scripts manually to do a forced preload for the particular database connection . We have been doing this manually .
I was trying to Schedule the VB Script run via TI process . So I wrote the following commands in the epilog part of a new TI process
ExecuteCommand('D:\bat\ActualsPnL.bat',0);
ExecuteCommand('D:\bat\Attrition.bat',0);
ExecuteCommand('D:\bat\GL_ActualsVsBudgets.bat',0);
ExecuteCommand('D:\bat\ResourceCategories.bat',0);
ExecuteCommand('D:\bat\ResourceP&L.bat',0);
I am also attaching the VB Scripts and .bat files for your reference.
But when I run the process , I can see many cmd.exe process generated (In task Manager ) and nothing happened , I had to kill those cmd.exe's.
Could you please correct me on where I went wrong ?
Thanks & Regards
Anoop