2 Replies Latest reply on Jul 12, 2011 6:46 PM by fabianpc

    Start JBPM5 process from web app

    Massimiliano Andriotto Newbie

      Hi to all I need some help to activate a process from a web application deployed inside the same JBoss where guvnor runs.

      I'm using eclipse to develop and to install my process inside drools-guvnor, I find it inside the defaultPackage. Using the same web interface i build the package all goes ok.

      I see the process inside the jbpm-console and I'm able to start it.

      Now I have a web application and I have to start the process. This is the code:


      KnowledgeBuilder kbuilder = KnowledgeBuilderFactory


      KnowledgeBase kbase = kbuilder.newKnowledgeBase();
      StatefulKnowledgeSession ksession = kbase


      but I see an exception

      Unknown process ID: com.sample.bpmn.hello


      Thank you