From: Doscher, C. <Cri...@li...> - 2010-11-24 04:41:22
|
Hi all, I'm a bit confused about how watchers work. I see how to set up the watchee and the watcheeFieldName, but it seems like actions by the watcher can only be triggered when the field changes rather than what the value changes to. Is it possible to set up a watcher so that actions can be triggered by when the value of the watcheeField changes to a particular value? Here's an example of what I mean: Let's say I've got an object that's basically a timekeeper, and ticks along with the tickCount, resetting itself to zero every time a certain number of ticks go by. Then let's say I want the watcher to carry out a certain action whenever the value of 2 comes up and a different action whenever 6 comes up. Can this be done with a watcher? Thanks - Crile "The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system." |