JBoss Community

Re: Can not fire a rule

created by Dmitry Erkin in jBPM - View the full discussion

It says: "Process Compilation error WorkflowProcessInstance cannot be resolved to a type" when I try to build a package in Guvnor.

 

the import is set up:

 

<extensionElements>

     <tns:import name="defaultPackage.Person" />

     <tns:import name="org.drools.runtime.process.WorkflowProcessInstance" />

</extensionElements>

 

this cast is used: "((WorkflowProcessInstance)kcontext.getProcessInstance())"

 

so probably I need to set up Guvnor path

Reply to this message by going to Community

Start a new discussion in jBPM at Community