Could you provide reproducible test cast for this? Your model jars and whole bpmn2 would help. Are you executing this in console or some custom code?
try declaring fqcn in itemDefinition structureRef attribute
It works that way, thanks!
The strange thing for me is when I don't use Java in conditionExpression it works without fqcn e.g:
<itemDefinition id="_companyItem" structureRef="VisitorCompanyTO" />
<conditionExpression xsi:type="tFormalExpression" >company.company.id!=null</conditionExpression>
I think it could be due to java compiler is more strict than mvel one.