clara

http://www.clara-rules.org/
Geoffrey Gaillard 2019-02-03T09:40:47.107200Z

Hey David! I've been using for some time so I hope I'll be able to help. Based on the graph you are building, if I understand correctly, it seems normal that Clara ends up looping. You have Productive -[DependsOn]-> Productive. And you insert A -> B -> C -> A, but A DependsOn B, so clara run again A -> B -> C -> A -> B -> C -> A -> B …. You have a loop in your graph. It might be a problem with identity. You create a new Productive instance every time, but do clara knows that (->Productive "A") is identical by value to (->Productive "A") (new instance) ?

david_clojurian 2019-02-03T09:43:30.110600Z

Hello @ggaillard. I filed an issue on github and I get 2 answers. I'm evaluating these answers now, but as far as I can see, it seems to resolve my issue. Here is the link: https://github.com/cerner/clara-rules/issues/418

Geoffrey Gaillard 2019-02-03T09:43:54.110900Z

Ah nice, will look into it!