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.