Creating Custom Parameters Creating Prompts

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

Custom parameters are special parameters for Action Buttons that are available to every report in your Oracle Business Activity Monitoring installation. To create custom parameters you must edit the custom parameters data object in Oracle BAM Architect. To create a custom parameter: 1. Open Oracle BAM Architect and select Data Objects from the list. Using Prompts and Parameters 8-5

2. Select the Custom Parameters data object located in the Data

ObjectsSystemCustom Parameters folder.

3. Click Contents.

4. Click Edit Contents.

5. Click Add.

6. Enter a name for the Custom Parameter. This name appears in the list of prompts and parameters available for Action Buttons. 7. Enter the value for the Custom Parameter. 8. Enter a short description for the Custom Parameter.

9. Click Save.

8.4 Creating Prompts

You can create prompts that require the user to type in a value in a text field or to select one or more values from a list. You can create prompts in the Change Report Properties dialog box or in a filter when you specify a value. Creating prompts in the Change Report Properties dialog box does not make them active in the report until they are used in a filter. To create a prompt: 1. 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, and click Next.:

■ Name: Enter a display name for the parameter 8-6 Oracle Fusion Middleware Users Guide for Oracle Business Activity Monitoring ■ Parameter Type: Select a data type for the parameter value from the list. The Datetime type presents additional options see Section 8.4.1, Creating a Datetime Type Parameter and the Field type is a special case see Section 8.4.2, Creating a Field Type Parameter . ■ Description: optional Enter a description for the parameter. This description is only displayed when the parameter is edited. ■ Value: To prompt the user for a value when the report is opened choose Prompt the user to specify a value . To create a parameter containing a pre-defined value, select Use one of the values below parameter , and continue with the procedure in Section 8.2, Creating Parameters. 4. In the User Input Type page, select a user input type. ■ Type in creates a text box in the prompt, and the report user is required to enter a value. ■ Choose from a list of field values creates a list of choices that the user must select from. Using Prompts and Parameters 8-7

5. In the Prompt message text field, enter the text that is displayed to the user in the

prompt dialog box, and click Next. This text also appears next to the list in the report view if you chose Choose from a list of field values in the previous step.

6. Configure the Input Definition.

This tab appears differently depending on which user input type was selected in the previous screen. If you selected Type in user input: If you selected the Type in user input type in the previous screen the Input Definition tab presents options for selecting a default value or leaving the value blank. 8-8 Oracle Fusion Middleware Users Guide for Oracle Business Activity Monitoring

a. Select a Default Value that can be a value that you supply, All, or Null. If the