6.4. Instantiating Business Process
To create an instance of the Hello World process — that is to run the business process — do the following:
- Click Process Management → Process Definitions on the main menu.
-
On the displayed Process Definitions tab, locate the
HelloWorld
. You might need to click Refresh to have the deployment displayed on the list. Click the Start ( ) next to the process definition entry and in the dialog box, click Submit to confirm that you want to instantiate the process.
The process is instantiated with the currently logged-in user as the process owner and the process form is displayed (the form can serve to request input from a user on process instantiation if defined; see the Red Hat JBoss BPM Suite User Guide).
The Process Instance Details view is displayed with details about the started process instance. The Hello World!
message appears in standard output twice, typically the terminal emulator in which the server was started. Then the process instance waits on the Timer Event.
Choose Options → Process Model to see the current execution status.
Figure 6.3. HelloWorld Realtime Execution Diagram: the Timer Event Being Executed