TI 'Wrapper' process to run processes problem

Post Reply
User avatar
ADW
Posts: 32
Joined: Tue Jun 14, 2011 11:10 am
OLAP Product: Cognos Express
Version: 9.5
Excel Version: 2010
Location: Cheshire, England

TI 'Wrapper' process to run processes problem

Post by ADW »

Hi,

I have a TI process that executes other TI processes. After running the process and a little trial and error I think I have the script correct. However, everytime I run the process it does not start from the beginning.

i.e. if there are 5 processes labelled TI 1 to TI 5 I would expect the process to run TI 1 first, but it is starting at TI 4. Does anyone know why this is happening and how I can make the process start from the beginning each time I run it?
User avatar
qml
MVP
Posts: 1098
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: TI 'Wrapper' process to run processes problem

Post by qml »

Not enough information.

First of all, are you sure the processes are not being executed at all? How are you checking this? Also, how are you executing the master process?

A typical error is when a process runs, but doesn't do anything meaningful because its data source is empty and so Metadata and Data are not executed.
Kamil Arendt
User avatar
ADW
Posts: 32
Joined: Tue Jun 14, 2011 11:10 am
OLAP Product: Cognos Express
Version: 9.5
Excel Version: 2010
Location: Cheshire, England

Re: TI 'Wrapper' process to run processes problem

Post by ADW »

Hi,

Run TI 1 using file location specified in parameter
after TI 1 has ran, move the file to archive using batchfile

Run TI 2 using file location specified in parameter
after TI 2 has ran, move the file to archive using batchfile

etc etc.

I can see which processes are being executed as the pop up window tells me when I run the wrapper process. Also I know they haven't run the first few executes as the files are not archived, but those further down the wrapper process are.

During the trial and error stage of writing the wrapper the process aborted at a point, it would then continue from that point when I ran the TI again, but I want it to start from the beginning, not half way through.
User avatar
qml
MVP
Posts: 1098
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: TI 'Wrapper' process to run processes problem

Post by qml »

Check the server's Message Log to see which processes get executed and in what order.

It sounds to mee like you have some additional logic built into the system to control the processes' workflow (and it possibly malfunctioned due to the master process being aborted halfway through). Without actually seeing the code it becomes a game of guessing. Are you the author of these TIs?
Kamil Arendt
User avatar
ADW
Posts: 32
Joined: Tue Jun 14, 2011 11:10 am
OLAP Product: Cognos Express
Version: 9.5
Excel Version: 2010
Location: Cheshire, England

Re: TI 'Wrapper' process to run processes problem

Post by ADW »

Aha... All sorted now! Silly noob error renaming the files after moving them back from the archive to test again. Thanks for your help!
Post Reply