JBoss Community

Re: RuleTask as the 1st in the process

created by bpmn2user in jBPM - View the full discussion

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?

-------------------------------------------------------

Reply to this message by going to Community

Start a new discussion in jBPM at Community