Page 1 of 1

Running 2 Tasks at the same time

Posted: Sat Dec 09, 2006 1:34 pm
by oferpeleg
Hi,

How can I run 2 tasks at the same time ?
When I run a Task that calls a task the server Execute the called task and only when the Task is over it continues on with the actions.

Ofer.

Posted: Sat Dec 09, 2006 3:27 pm
by yaccri
- Create a null device
- Create any property in that device
- Create an automatic task (when conditions are met) that tracks changes of the property that you created, and runs the first task that you want to run
- In the main task, change the propery that you created so that the automatic task will run. That will cause the first task to execute and continue.
- Call the second task

Posted: Sat Dec 09, 2006 3:37 pm
by oferpeleg
WoW,

That is quiet tricky, but will work ...

Thanks yoram,

Ofer.