Demons

Demons are very special rules that monitor events and fire when the events occur. For example, a demon might monitor a gauge value. When the gauge reaches a critical level, the demon's action fires automatically.

Demons become active immediately upon posting; they do not require a chaining statement to activate them. When the demon is posted, the engine evaluates the premise and, if TRUE, executes the demon's action. Thereafter, the engine monitors the status of demon premise attributes to detect modification, and when modified, the demon is refired. Demons have two forms, depending on how many instances you are monitoring:


Copyright © 2009 CA. All rights reserved. Send E-mail to CA about this topic