JBoss Community

Re: Process variable and rule task

created by Francesco Pietrobelli in jBPM - View the full discussion

Hi Cristiano

I think that it depends on when you insert the process instance in working memory.

Have you try to insert process instance after you set the strValue? for example from a Script Task just before the Business Rule Task that perform the following action:

 

kcontext.getKnowledgeRuntime().insert(kcontext.getProcessInstance());

 

Best regards,

Francesco.

Reply to this message by going to Community

Start a new discussion in jBPM at Community