When you build a prompt that presents a static list of predefined values, the prompt will display a list of values that you define specifically for the prompt. For example, you could build a prompt that presents three predefined values for the Asset Type in a query that returns Pumps, such as Rotating Pumps, Reciprocating Pumps, and Centrifugal Pumps.
Steps
In the Valid Values list, select Static List of Values, and then select Next.
The Static List of Valid Values section appears.
In the Enter List of Values box, enter the first value that you want to appear in the list, and then select
Note: If you are defining a list of values for a numeric field and you enter a non-numeric character in the list, then the Next button will be disabled. You will not be able to proceed or close the Prompt Builder until you replace the non-numeric character with a numeric value.
Select the Allow Multiple Selections check box if you want users to be able to select multiple values by which to filter the query results.
Note: The Allow Multiple Selections check box is enabled only if you select the Values are Exclusive check box.
Select Next.
The Configure Default Prompt Selection section appears.
If you want a particular value to be selected by default, then select the row containing the necessary value, and then select Finish.
Note: You can select multiple default prompt values only if the Prompt Data Type is set to Character, and you selected the Allow Multiple Selections check box in the Static List of Valid Values section.
The prompt appears in the Expression Builder window.
Select Done.
The Expression Builder window closes, and then, in the grid in the Conditions section, <expr> appears in the field on which you created the prompt.
Results
Copyright © 2018 General Electric Company. All rights reserved.