Page 1 of 1

How To Run multi Process

Posted: Thu Jul 16, 2015 3:00 am
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

Re: How To Run multi Process

Posted: Thu Jul 16, 2015 4:05 am
by macsir
Use executeprocess function with parameters.

Re: How To Run multi Process

Posted: Thu Jul 16, 2015 4:19 am
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.