Event Assertion in a Query Agent
In a query agent, a channel executes an automatic Event.assertEvent(e) when its destination receives a message and converts it to the destination’s default event type.
However, query agents do not have a Rete network for rule inferencing, so the event is not asserted in the same way that it is asserted in an inference agent. Also, events asserted in a query agent are not persisted in the cache. Asserted events cannot be modified or explicitly deleted.
You can assert events in a callback rule function and they are asserted locally, within the query agent.
Copyright © Cloud Software Group, Inc. All rights reserved.