Creating and editing prompts
You can create prompts to use with tools.
About this task
To create or edit a prompt:
Procedure
- From the Netcool/OMNIbus Administrator window, select the Menu menu button.
- Click Prompts. The Prompts pane opens.
- To add a prompt, click Add Prompt in
the toolbar. The Prompt Details window opens. The fields within this window vary based on the type of prompt being created or edited.
- To edit a prompt, select the tool to edit and then click Edit
Prompt in the toolbar. The Prompt Details window opens. The fields within this window vary based on the type of prompt being created or edited.
- To create or edit a string prompt, complete the window
as follows:
- Name
- Type a unique name for the prompt. This name must comply with the ObjectServer naming conventions. If you are editing a prompt, you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests information from the user.
- Type
- Select String to create a prompt window that accepts one or more characters.
- Default
- Type a default value for the prompt to display.
- To create or edit an integer prompt, complete the window
as follows:
- Name
- Type a unique name for the prompt. This name must comply with the ObjectServer naming conventions. If you are editing a prompt, you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests information from the user.
- Type
- Select Integer to create a prompt window that accepts an integer value.
- Default
- Type a default value for the prompt to display.
- To create or edit a float prompt, complete the window as
follows:
- Name
- Type a unique name for the prompt. This name must comply with the ObjectServer naming conventions. If you are editing a prompt, you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests information from the user.
- Type
- Select Float to create a prompt window that accepts a floating point number, which can contain a decimal point.
- Default
- Type a default value for the prompt to display.
- To create or edit a time prompt, complete the window as
follows:
- Name
- Type a unique name for the prompt. This name must comply with the ObjectServer naming conventions. If you are editing a prompt, you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests information from the user.
- Type
- Select Time to create a prompt window that accepts a time. For a time prompt, the default is to display the current time.
- To create or edit a fixed choice prompt, complete the window
as follows:
- Name
- Type a unique name for the prompt. This name must comply with the ObjectServer naming conventions. If you are editing a prompt, you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests information from the user.
- Type
- Select Fixed Choice to create a pop-up menu that is populated with options that you specify.
- Options
- Use this field to specify menu options to include in the pop-up menu. To create a new option, click Add option and type a name for the option in the box that is shown within the Options list. Click outside the box to complete the entry. You can also edit an existing option by clicking the entry in the Options list and then clicking Edit option. To delete an option, click the entry and then click Delete option.
- To create or edit a lookup prompt, complete the window
as follows:
- Name
- Type a unique name for the prompt. This name must comply with the ObjectServer naming conventions. If you are editing a prompt, you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests information from the user.
- Type
- Select Lookup to create a pop-up menu or drop-down list that is populated by the values in a specified file.
- File
- Type the path and name of the file whose contents must be used to populate the pop-up menu or drop-down list associated with the prompt. Alternatively, click Browse to open a file selection window, navigate to the appropriate location, and select the file.
- To create or edit a password prompt, complete the window
as follows:
- Name
- Type a unique name for the prompt. This name must comply with the ObjectServer naming conventions. If you are editing a prompt, you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests information from the user.
- Type
- Select Password to create a prompt window that accepts one or more characters as a password. For a password prompt, the password characters appear as asterisks when the user completes the prompt.
- To create or edit a dynamic choice prompt, complete the
window as follows:
- Name
- Type a unique name for the prompt. This name must comply with the ObjectServer naming conventions. If you are editing a prompt, you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests information from the user.
- Type
- Select Dynamic Choice to create a pop-up menu or drop-down list that is populated by the results of a database query.
- Database
- Select a database from this drop-down list.
- Table
- Select a table in the selected database, from the drop-down list.
- Show
- Select a column name from the drop-down list. This defines the column that is used to populate the prompt menu.
- Assign
- Select a column name from the drop-down list. This defines the column that is used to return a value to the SQL command, external command, or journal entry that contains the prompt.
- Where
- Type an SQL search condition. For example: Colname='Severity'.
- Order By
- Select a column name from the drop-down list. This defines the column by which items are sorted in the prompt menu. Use the Ascending and Descending options to specify the sort direction.
- Save or cancel your changes as follows:
- OK
- Click this button to save the prompt details and close the window. New prompts are added to the Prompts pane.
- Cancel
- Click this button to close the window without saving your changes.
What to do next
The prompts shown within the Prompts pane can be added to tools that are set up to help operators manage alerts in the event list. When such a tool is run, a prompt window or a pop-up menu is displayed for users to enter or select information.