Page 1 of 1
Trigeer Based Exceution of TI
Posted: Tue Jan 12, 2010 10:34 am
by aagrawal12
Hi All,
Can anyone explain how can we implement the trigeer based exceution of TI process.
If there is any documnet or use case plz share it.
Any help would be very useful.
Thanks,
Abhishek
Re: Trigeer Based Exceution of TI
Posted: Tue Jan 12, 2010 12:40 pm
by David Usherwood
TM1 has no built in trigger functionality. Having said that, you could write a TI which runs as a chore at specified intervals, tests some aspect of your model and takes appropriate action.
Re: Trigeer Based Exceution of TI
Posted: Tue Jan 12, 2010 12:51 pm
by kpk
David Usherwood wrote:TM1 has no built in trigger functionality. Having said that, you could write a TI which runs as a chore at specified intervals, tests some aspect of your model and takes appropriate action.
Or you can create an exe which can be triggered from outside TM1.
I have one which let you start a predefined chore.
Re: Trigeer Based Exceution of TI
Posted: Tue Jan 12, 2010 10:45 pm
by wissew
There are a couple of ways to go about this and it depends on the type of trigger you are looking to execute.
Since TM1 chores will only execute daily you start the prolog with an if statement:
if(condition or file exists);
ChoreQuit;
endif;
Then utilize windows scheduled tasks to execute a dos file that copies the file to the desired location weekly and delete the file on the epilog tab at the end of your chore. You can also utilized a TM1 string or numeric cube to store the conditions for executing the chore. TI can also execute the dos file that triggers other chores to run or not to run.