Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow any of the subscribed GruleEngineListener to break out of Cycle during the start of a Cycle. #456

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

v15ha1
Copy link

@v15ha1 v15ha1 commented Jul 29, 2024

Modify the behavior of GruleEngineListener, by checking if Rule Cycle needs to be stopped after all subscribed Listeners are notified as part of the notifyBeginCycle() function.

This way application can stop execution and break out of the Rule Cycle, even if the condition for this break is not a part of the When of any of the Rules and when the rule need not necessarily be part of the Evaluation list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant