Try OpenEdge Now
skip to main content
Application Developer's Guide
Developing an application : Using a sample application to demonstrate application development : Defining the process flow of an application : Assign_A_Task_V1 worksteps
 
Assign_A_Task_V1 worksteps
Worksteps, or steps in the business process flow, are units of work. In this process template, there are five worksteps. Connectors (lines) connecting the worksteps.
The Assign_A_Task_V1 sample application contains the following worksteps:
Table 4. Assign_A_Task_V1 worksteps
Workstep
Description
Start
The "Start" workstep is a mandatory initial workstep for every Business Process Server application as it performs the dataslot initialization necessary to properly start the application. For BP Server applications, this initialization is seen in Business Process Portal, when the user opens the application by clicking its link in the Business Process Server Applications page that opens to the Application Details page for the selected application.
DoTask
This workstep is specific to the application, and corresponds to the actual execution of the task. Assignees see this task in their Task List in Business Process Portal. To complete the task, assignees enter data in the "Comments" dataslot and click Complete.
ReviewTask
The reviewer reviews the task execution and indicates whether the job has been completed or not by selecting an option from the Decision dataslot in Business Process Portal. In our sample, the reviewer is the same person who started the application, a name which Business Process Server automatically enters in the CREATOR dataslot. As indicated in the workstep’s Properties view, @CREATOR is the Performer, the @ symbol indicating that the performer is dynamically obtained from the CREATOR dataslot at run time.
Decision
The Decision workstep represents choices the reviewer has made in the previous "ReviewTask" workstep. The reviewer selects "Redo" from the "Decision" dataslot when the task has not been adequately completed and there is more work to do. Using this dataslot value, the Decision then directs the workflow to the "DoTask" workstep through the RequiresMoreWork connector. In the "WorkCompleted" case, the work is completed and the flow continues to the "End" workstep.
End
This is the final workstep. Some applications might have more than one ending workstep, though our example has only one. Note that there are no particular attributes attached to this step.