Page 1 of 1
TI 'Wrapper' process to run processes problem
Posted: Thu Nov 10, 2011 9:32 am
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?
Re: TI 'Wrapper' process to run processes problem
Posted: Thu Nov 10, 2011 10:32 am
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.
Re: TI 'Wrapper' process to run processes problem
Posted: Thu Nov 10, 2011 10:42 am
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.
Re: TI 'Wrapper' process to run processes problem
Posted: Thu Nov 10, 2011 11:39 am
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?
Re: TI 'Wrapper' process to run processes problem
Posted: Thu Nov 10, 2011 1:47 pm
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!