I haven't managed to get the API to connect yet so I found this workaround, somebody might find it useful.
Basically you can use a TI process to detect the existence of a file. So what you can do is create a file from your external application when you want the TI process to start. You can then create a TI process that is scheduled to run say every 10 seconds. If it detects this file, then it kicks off your main process.
You also need to do a couple of housekeeping tasks to prevent repeatedly kicking off the process.
Namely, delete the run file once the TI process kicks and create an 'in progress' file so that the external app knows not to create a new 'run' file (unless of course that's what you want it to do).
The TI process can also write a completed file which the external process can use if need be.
You need to delete the files at appropriate stages depending on what kind of workflow you are after.
Start TM1 process remotely without using the API
-
- Posts: 73
- Joined: Fri Apr 23, 2010 11:35 am
- OLAP Product: Tm1
- Version: 9.5
- Excel Version: 2007 2010
Start TM1 process remotely without using the API
“The way I see it, you should live everyday like its your birthday”
TM1 9.5 Cognos BI 8.4 Excel 2007. 128GB Ram. E7450@2.40Ghz -24 core. Fluffy white dog.
TM1 9.5 Cognos BI 8.4 Excel 2007. 128GB Ram. E7450@2.40Ghz -24 core. Fluffy white dog.
-
- MVP
- Posts: 3706
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Start TM1 process remotely without using the API
Although this approach will "work" an external trigger is definitely a better option and safer bet. Scheduling a process at this frequency has a high probability of causing locking and queuing of some degree as it is inevitable that at some point the process will overlap with another process / a data save, etc, etc.
-
- Posts: 73
- Joined: Fri Apr 23, 2010 11:35 am
- OLAP Product: Tm1
- Version: 9.5
- Excel Version: 2007 2010
Re: Start TM1 process remotely without using the API
lotsaram wrote:Although this approach will "work" an external trigger is definitely a better option and safer bet. Scheduling a process at this frequency has a high probability of causing locking and queuing of some degree as it is inevitable that at some point the process will overlap with another process / a data save, etc, etc.
Thanks lotsaram. I'll look into using the existing processexcute code already here, but at the moment I can't even connect to my server

“The way I see it, you should live everyday like its your birthday”
TM1 9.5 Cognos BI 8.4 Excel 2007. 128GB Ram. E7450@2.40Ghz -24 core. Fluffy white dog.
TM1 9.5 Cognos BI 8.4 Excel 2007. 128GB Ram. E7450@2.40Ghz -24 core. Fluffy white dog.
-
- Posts: 73
- Joined: Fri Apr 23, 2010 11:35 am
- OLAP Product: Tm1
- Version: 9.5
- Excel Version: 2007 2010
Re: Start TM1 process remotely without using the API
I simply cannot get that to work (refuses to find my server)
However I used the new .net api with visual studio express 2010 to write a cheap and dirty app and success!!!!
Thanks for the pointers chaps.
(No pun intended...)
However I used the new .net api with visual studio express 2010 to write a cheap and dirty app and success!!!!
Thanks for the pointers chaps.
(No pun intended...)
“The way I see it, you should live everyday like its your birthday”
TM1 9.5 Cognos BI 8.4 Excel 2007. 128GB Ram. E7450@2.40Ghz -24 core. Fluffy white dog.
TM1 9.5 Cognos BI 8.4 Excel 2007. 128GB Ram. E7450@2.40Ghz -24 core. Fluffy white dog.