Here you design the Review Report screenflow to complete the
functionality of the Review Report activity.
To design the Review Report screenflow:
- Add an interactive component call (
) to the screenflow diagram, between the Begin and
End activities.
The
Activity dialog box appears.
- In the
Name field, enter
Review Report, and click
OK.
The Input Report interactive component call activity is
added to the diagram.
- Right-click on the Review Report activity icon and click
The
Main Task dialog box appears.
- In the
Implementation Type drop-down list, select
BPM Object Interactive Call.
- In the
Select BPM Object Variable drop-down list,
select
report.
- Select the
Use BPM Object Presentation option, and select
ReviewReport from the drop-down list.
- Select the
Input option.
- You need to specify the output arguments, so Click
Argument Mappings.
The
Argument Mapping dialog box appears.
- From the
Argument Set Names list, select
ReviewReportOut.
- Click the Add icon (
) to add an Instance variable.
- Enter the following two values to the table:
| Instance Variable
|
Argument
|
| action
|
selectedButton == "submit"
? OK : CANCEL
|
| result
|
selectedButton
|
- Click
OK, then
OK again in the
Main Task dialog box.
Your screenflow should now look like the following:
Figure 1. Review Report screenflow
- Save and close the screenflow design editor.
With the Review Report screenflow, all the components of the Review
Report activity are complete.