You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say now that I want to create a rule to change the status of all objects in "items" array where parentId = parentObject.id; how can I achieve this?
In Drools (Java) I was able to bind to the object with those conditions to a variable and then to manipulate it in the "then" part, after I loaded all objects into the working memory.
Is there any way to achieve the same result with this library? Is there a better way other than loading each individual object into the working memory?
Maybe I missed it, but I couldn't find any example.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi,
Would it be possible to load examples with complex facts, e.g. object with nested array of objects? How would you manipulate them?
Example:
Let's say now that I want to create a rule to change the status of all objects in "items" array where parentId = parentObject.id; how can I achieve this?
In Drools (Java) I was able to bind to the object with those conditions to a variable and then to manipulate it in the "then" part, after I loaded all objects into the working memory.
Is there any way to achieve the same result with this library? Is there a better way other than loading each individual object into the working memory?
Maybe I missed it, but I couldn't find any example.
Thank you.
The text was updated successfully, but these errors were encountered: