Did you look at the Drools debug and audit log functions?
BTW, thanks for pointing out the following. Yes! We do not need both. I modified the blog and it only uses params.put("hpm",hpm).
Later in the Hello script node it inserts the hpm into kcontext (kcontext.getKnowledgeRuntime().insert(hpm);)
--------------------------------------------------
In this process you mentioned, why is the fact passed as both a parameter AND inserted in the session:
...
params.put("hpm", hpm);
ksession.insert(hpm);
...
Shouldn't it be one or the other?
-------------------------------------------------------