Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Defining workstep presentation format : Defining workstep presentation for Business Processes : Defining Flow presentations : Using a Flow (private) presentation
 
Using a Flow (private) presentation
Unlike the Flow presentation type, the Flow (private) presentation type does not require you to publish and install the Web application in order to execute properly in its process template. Additionally, upon subsequent modifications to the input or output dataslots of the workstep in a Business Process with a Flow (private) presentation, the dataslots of the private flow are automatically updated to reflect the input and output changes in the workstep. This results in the automatic dataslot synchronization between Business Processes and Flow (private) applications. Removing dataslots from the Business Process does not remove corresponding dataslots in the Flow (private) application, but is interpreted as disassociating the dataslots in the Business Process from the dataslots in the Flow (private) application.
Right-click the workstep with a Flow (private) presentation and selecting Open, launches a Web application (without any Web application wizard).
The defined process appears in the Project pane as a process with a SWT extension in a WebApp folder. The process functions only in the current process, and you need not define and publish a Web application to use this type of workstep.
Note: If an application is used as a Flow (private) application in Progress Developer Studio for OpenEdge, you cannot use it as a stand-alone Web application; similarly, an installed Web application cannot be used as a Flow (private) workstep.
To create a Flow (private) presentation for a workstep:
1. From the Properties view, click the General tab to view the Presentation section.
2. Click Add to open the Add Presentation dialog box.
3. Select Portal from the Type drop-down list.
4. Select the Flow (private) option from the Form Type drop-down list.
5. Modify, if required, the default name in the Name box. The default name is the name of the current workstep. Alternatively, you can associate a dataslot with the Flow (private) workstep.
a. Click the ellipsis button beside the Name box.
b. Select the Use a dataslot option.
c. Select the dataslot from the Add Dataslots dialog box.
d. Click OK to add the dataslot.
6. Click OK to define the presentation format for this workstep.
7. Right-click the workstep and click Open Flow to open a blank Web application with the same name as the Flow (private) workstep.
The Flow (private) workstep is now confined to the current process template. Any dataslot that you create in the Web application (invoked from the Flow (private) workstep) are confined to the Web application and cannot be used in the Business Process. To pass dataslot values from the Business Process to the Web application, you must create the dataslot with the same name and type in both processes.