How does Rule Agenda view in Debug Perspective work?

How does Rule Agenda view in Debug Perspective work?

book

Article ID: KB0084574

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
How does Rule Agenda view in Debug Perspective work?

Environment:
==========
Operating Systems: ALL
BE Version: ALL

Resolution:
==========
When a breakpoint in rule/rulefunction is hit, the execution of the rule/rulefunction is suspended. At this point, the variable view in Debug perspective displays values of all the variables in the scope. Similarly, Rule Agenda view displays rules to be executed from the rule agenda excluding the current rule where execution is suspended due to breakpoint.

For example: When Event1 is asserted into working memory, Rule1 executes which creates Concept1 instance. Rule2, Rule3 and Rule4 have Event1 and Concept1 in their scope and their conditions satisfies for the instance of Event1 and Concept1. If a breakpoint suspends execution in Rule2, Rule3 & Rule4 are displayed in the Rule Agenda view.

References:
==========
To know more about how Rule Agenda is build, refer to Run-time Inferencing Behavior : Understanding Conflict Resolution and Run to Completion Cycles in Architect's Guide.

Issue/Introduction

How does Rule Agenda view in Debug Perspective work?