Hi Mauricio,
I used the ProcessTest.java like in your examples, so I created the knowledge, I have add the resource like:
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("sample.bpmn"), ResourceType.BPMN2);
kbuilder.add(ResourceFactory.newClassPathResource("my_rules.drl"), ResourceType.DRL);
The process start correctly, but the problem is in the drools file because it seems that the process never read it...
I think that the problem is the package definition in the drools file... but I can't understand what is the right definition........ generally the name of the package is the folder that contains the files....... but in your example it isn't... the package where is my drools file is simple src/main/resource..... so... in the drools file what is the name of the package?