I have a pattern created using 'New Pattern' feature on Ruleset as part of Content tab.
For your reference, the same pattern in SRL as below,
'anyServer' is any ServerType in ServerCollection.
I am not passing any Server in the collection as input to ruleset. In the other words, this collection is empty before rule engine executes first rule in ruleset.
In the first rule of my ruleset i am adding new Server objects to the collection.
In the second rule condition part, I am using 'anyServer' pattern like below:
if (anyServer is known and true)
print("In THEN part").
ISSUE: Rule engine is not executing the second rule. [If i remove first condition
(anyServer is known) from the 'if' part, rule is getting execute.]
Query-1: Does Blaze Rule Engine's pattern refer to the objects added dynamically to the
Query-2: How to execute the second rule wherein my pattern is able to locate newly added objects in collection??
Please let me know if you need any clarification on my queries.