Designing the Review Report Screenflow

Here you design the Review Report screenflow to complete the functionality of the Review Report activity.

To design the Review Report screenflow:

  1. Add an interactive component call (Interactive Component Call icon 
				) to the screenflow diagram, between the Begin and End activities. The Activity dialog box appears.
  2. In the Name field, enter Review Report, and click OK. The Input Report interactive component call activity is added to the diagram.
  3. Right-click on the Review Report activity icon and click Main Task The Main Task dialog box appears.
  4. In the Implementation Type drop-down list, select BPM Object Interactive Call.
  5. In the Select BPM Object Variable drop-down list, select report.
  6. Select the Use BPM Object Presentation option, and select ReviewReport from the drop-down list.
  7. Select the Input option.
  8. You need to specify the output arguments, so Click Argument Mappings. The Argument Mapping dialog box appears.
  9. From the Argument Set Names list, select ReviewReportOut.
  10. Click the Add icon (Add icon 
				) to add an Instance variable.
  11. Enter the following two values to the table:
    Instance Variable Argument
    action selectedButton == "submit" ? OK : CANCEL
    result selectedButton
  12. Click OK, then OK again in the Main Task dialog box.

    Your screenflow should now look like the following:

    Figure 1. Review Report screenflow
  13. Save and close the screenflow design editor.

With the Review Report screenflow, all the components of the Review Report activity are complete.