Creating Parameters Oracle Fusion Middleware Online Documentation Library

8-2 Oracle Fusion Middleware Users Guide for Oracle Business Activity Monitoring

8.2 Creating Parameters

You can create parameters in the Change Report Properties dialog box or in a filter when you specify a value. Creating parameters in the Change Report Properties dialog box does not make them active in the report until they are used in a filter. Parameters do not prompt the user to specify a value. The report designer specifies the value for a parameter. To create a parameter: 1. In a report that you are editing, click Change Report Properties. The Report Properties dialog box opens.

2. Click New.

The Prompt and Parameter Creation and Edit dialog box opens.

3. In the Name and Data Type tab enter the following information:

■ Name: Enter a display name for the parameter ■ Parameter Type: Select a data type for the parameter value from the list. ■ Description: optional Enter a description for the parameter. This description is only displayed when the parameter is edited. ■ Value: To create a parameter containing a pre-defined value, select Use one of the values below parameter , and select or enter the value to pass to the report parameter. Depending on the data type, the value selection will be different. In all cases the user is presented with the following options: – A value specification field in which the user manually enters a value to find in the field on which the parameter is created. A datetime value is selected using the calendar dialog as shown in Figure 8–2 . – All returns all values. – Null returns null values. Using Prompts and Parameters 8-3 The string type also presents the user with Blank because string type fields can be blank. See Figure 8–1 for an example. The datetime type presents the user with System Datetime. Blank is not presented because datetime fields are considered Null when no value is present. See Figure 8–2 for an example. To prompt the user for a value when the report is opened choose Prompt the user to specify a value , and continue with the procedure in Creating Prompts on page 8-5. Figure 8–1 Creating a Parameter on a String Type Value 8-4 Oracle Fusion Middleware Users Guide for Oracle Business Activity Monitoring Figure 8–2 Creating a Parameter on a Datetime Value

4. Click OK to save the parameter.

The parameter is displayed in the Report Properties dialog box.

8.3 Creating Custom Parameters