comparing properties in task and duplicating task/task items
Posted: Wed Aug 10, 2005 3:29 pm
Hello.
the new functionality with %%device.property%% in tasks is great.
However in this task example:
"If ('device1.value' is equal to '%%device2.value%%') then ..."
it looks like the task "test" is runned only when device1.value changes and not if device2.value is changed...
a workaround seems to be possible if i add
"and if device2.value is equal to whatever..."
preferable the "task engine" should be looking for changes in both these properties and test if condition is met.
if duplicating a task or a task item the "%%device.property%%" is replaced with "0". this should prefarable be copied as is..
a good enhancement would also be to be able to select from the "device/property tree" when previously selecting constants only..
this stuff is getting better and better
regs
the new functionality with %%device.property%% in tasks is great.
However in this task example:
"If ('device1.value' is equal to '%%device2.value%%') then ..."
it looks like the task "test" is runned only when device1.value changes and not if device2.value is changed...
a workaround seems to be possible if i add
"and if device2.value is equal to whatever..."
preferable the "task engine" should be looking for changes in both these properties and test if condition is met.
if duplicating a task or a task item the "%%device.property%%" is replaced with "0". this should prefarable be copied as is..
a good enhancement would also be to be able to select from the "device/property tree" when previously selecting constants only..
this stuff is getting better and better
regs