---------- Forwarded message ----------
From: Ahmed Feki <feki.ahmed.job@gmail.com>
Date: 2012/5/8
Subject: Creating a business process programatically, Jbpm5 tutorials for beginners
To: Rules Users List <rules-users@lists.jboss.org>


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 !