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();
EventTypeFilter eventFilter = new EventTypeFilter();
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 !
In general it is called Fluent API so you could search for this, both this forum and google Bit of docs are available as well.
As it comes for the events, external is used to mark that event is exposed to the outside world and can be used to signal the process instance from outside. If it is not external it is meant for internal engine communication.
Thnx Mac ! it seems there is almost everything about events in the user guide but unfortunatelly nothing about filters...neither in google.
(except the org.jbpm.process.core.event.EventTypeFilter API here)