Try OpenEdge Now
skip to main content
Application Developer's Guide
Using an LIST dataslot to invoke multiple subprocesses : Reviewing the publisher
 

Reviewing the publisher

This chapter uses three sample applications, Publisher, FictionAuthor, and NonFictionAuthor, to illustrate the use of the LIST dataslot as the performer of a subprocess workstep. The LIST dataslot can then create parallel instances of multiple subprocesses. The Publisher application is the parent BP Server application, while FictionAuthor and NonFictionAuthor are the subprocess applications.
The Publisher process contains the "Invoke Subprocess" subprocess workstep, performed by a LIST dataslot named "SubProcessNames". This LIST dataslot contains five values (as shown in Figure 7), and each value refers to an available subprocess that contains the dataslots required by the parent process. In the example shown in Figure 7, OpenEdge BPM Designer understands that five instances must be created —that is, three instances of the FictionAuthor subprocess and two instances of the NonFictionAuthor subprocess.
You can view these process template files in OpenEdge BPM Designer by importing them from the Workspace_Home directory.
* Defining the main process worksteps
* Defining the main process dataslots
* Defining an LIST dataslot
* Assigning an LIST dataslot as the subprocess performer