...
Excerpt | ||
---|---|---|
| ||
By using a combination of a dummy task and trigger, we can achieve the effect of 'OR' in time dependencies of different types. This technique will work for any complex dependency and has the added advantage of allowing us to manually free the dependencies via the GUI. |
How can I logically or time dependencies of different types?
Step-by-step guide
It is important to understand how time dependencies work first.
...
This effectively means that mixed time dependencies are logically anded'and'ed.
Now suppose we wanted to run the task, at 10.00 *OR* when the date is 1.12.2015.
...
For real-time, use the suites times based variables. For further example see: Time Triggers
Code Block trigger TIME >= 1000 or ECF_DATE == 20151201
For further example see: Time Triggers
This can be done by adding Place each time attribute under a dummy task. , and use a trigger
Code Block task dummy_time_trigger edit ECF_DUMMY_TASK "" # Tell server & checking not to expect .ecf file time 10:00 task dummy_date_trigger edit ECF_DUMMY_TASK "" # Tell server & checking not to expect .ecf file date 1.12.2015 task time_or_date trigger dummy_time_trigger == complete or dummy_date_trigger == complete
By using a combination of a dummy task and trigger, we can achieve the effect of 'OR' in time dependencies of different types. This technique will work for any complex dependency and has the added advantage of allowing us to manually free the dependencies via the GUI.
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...