4 Replies Latest reply: May 14, 2012 5:01 AM by Feki Ahmed RSS

Creating a business process programatically, Jbpm5 tutorials for beginners

Feki Ahmed Newbie

Hi,

i m a jbpm5 beginner and i m reading the  Drools Developer's Cookbook -[Packt Publishing, Jan 2012] and on its chapter 9 :"jBPM5: Managing ,Business Processes" there is a sample project for Creating a business process manually (creating-process-using-the-api) in i which there is an EventNode instanciation :

 

        EventNode eventNode = new EventNode();

        eventNode.setName("EventNode");

        eventNode.setId(2);

        eventNode.setScope("external");

        EventTypeFilter eventFilter = new EventTypeFilter();

        eventFilter.setType(eventType);

        eventNode.addEventFilter(eventFilter);

 

 

i want to understand what the "eventNode.setScope("external");" means and also about filters.

i googled for the jbpm-flow-builder API but didnt find any documentation.

i dont know where to find some tuorials for these stuffs..

 

thnx for help !