AnsweredAssumed Answered

Deploying rule file

Question asked by mikepoole on Apr 4, 2012
Latest reply on Apr 10, 2012 by mikepoole
I am consistently getting "Deployment xxx doesn't contain any rules" and when I open ACT_RE_PROCDEF table I can only see the bpm xml file listed as the resource name.

How do I deploy my drl file (or in general, multiple resources). Reading other forum postings, I have this code:

   repositoryService.createDeployment()
      .addClasspathResource("DroolsExample.bpmn20.xml")
      .addClasspathResource("ArticleSize.drl")
      .deploy();

Am I missing something obvious? Chapter 12 of the ActivitiInAction book deploys in a slightly different way which I don't quite get(using the @Deployment approach which I understand to be for testing a process?)

Many thanks

Mike

Outcomes