How To Run multi Process

Post Reply
myimyoona
Posts: 7
Joined: Thu Jul 16, 2015 2:43 am
OLAP Product: cognos TM1
Version: 10.2.0
Excel Version: 2007

How To Run multi Process

Post by myimyoona »

Hi sir :)
i want to run ti process call two process and process can select variable for input value to cube A & B


two process test http://www.mx7.com/view2/ytsl8QLGlFFSRUIi
when run http://www.mx7.com/view2/ytsnOKOR3JsZkRQi
User avatar
macsir
MVP
Posts: 785
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: How To Run multi Process

Post by macsir »

Use executeprocess function with parameters.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
failurehappening
Posts: 78
Joined: Tue Nov 30, 2010 1:18 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: How To Run multi Process

Post by failurehappening »

Macsir is spot on...

If you are always going to use the same date variable when you run your two processes, there is no need to have two parameters, you can use the same one. If your parameter is called pInputDate on your process Multi_Run and pUpdateDate on your tests processes then you can use the following code in Multi_run to call the other two processes:

Code: Select all

ExecuteProcess ( 'Update_Test1', 'pUpdateDate' , pInputDate );
ExecuteProcess ( 'Update_Test2', 'pUpdateDate' , pInputDate );
The call to the process Update_Test1 will happen and when that completes, the call to the process Update_Test2 will be done.
RHR
Post Reply