Running 2 Tasks at the same time

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
oferpeleg
Member
Posts: 8
Joined: Wed Nov 29, 2006 6:30 pm
Location: Tel Aviv, Israel

Running 2 Tasks at the same time

Post 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.
yaccri
HouseBot Special Member
Posts: 304
Joined: Wed May 07, 2003 2:19 pm
Location: Tel-Aviv, Israel
Contact:

Post 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
oferpeleg
Member
Posts: 8
Joined: Wed Nov 29, 2006 6:30 pm
Location: Tel Aviv, Israel

Post by oferpeleg »

WoW,

That is quiet tricky, but will work ...

Thanks yoram,

Ofer.
Post Reply