JBoss Community

Creating a business process programatically, Jbpm5 tutorials for beginners

created by Feki Ahmed in jBPM Development - View the full discussion

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 !

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community