Developing Process Definitions
The following figure describes the general procedure for developing process definitions.
Developing process definitions
The following is a more detailed description of how to develop process definitions:
Procedure
-
Create one or more process definitions by dragging Process Definition resources from the process palette to the design panel. Name each process definition and give the process a description.
-
Create any Shared Configuration resources you will require for your process definition. These items are located in the Shared Configuration palette.
For example, if you are going to connect to a database, you should drag and drop a JDBC Connection into the design panel. This describes the username, password, JDBC URL and other information about the connection. You can then use this connection in many process tasks that require a connection to a database.
For more details about each of the shared resources, see
. -
Select one of the process definitions you created in Step 1 in the project panel. This causes a blank business process to appear in the design panel. The business process has a Start and an End activity by default.
For more information about activities, see Activities.
-
Select the activities that start the business process. These activities are known as event sources or process starters. Drag these event sources from their palettes into the design panel.
For example, if you wish to start a process when an HTTP request is received, select the HTTP activity palette, locate the HTTP Receiver process starter activity, and drag and drop it into the design panel.
-
Configure the process starter activities. See the documentation for the activity you are configuring for more information about the fields on each of the tabs for the activity.
-
Drag and drop more activities to define the business process.
-
Click the transition button on the tool bar to draw transitions between activities.
For more information about specifying transitions, see Transitions and Conditions.
-
Perform mapping and transformation of data for each activity’s input.
For more information about mapping and transforming data, see Mapping and Transforming Data.
-
Once the process definition is complete, use the test mode tool to enter testing mode.
In testing mode, a ActiveMatrix BusinessWorks engine is started to perform the processing described in the process definition. Test and debug your process definition until it operates as expected.
For more information about testing process definitions, see Testing Process Definitions.