Create a Prompt with No List of Valid Values

When you build a prompt that presents no list of values, the prompt will display a text box into which the user can enter a value to limit the query results. For example, you could provide a prompt that presents no values for the Asset Type in a query that returns pumps. When presented with this prompt, the user would have to enter an Asset Type in the text box. To limit the results in this way, the user must be familiar with the exact values that exist in the limiting field.

Steps

  1. Access the Prompt Settings section of the Expression Builder window.
  2. Define the prompt settings as needed.
  3. In the Valid Values list, select Prompt Has No Valid Values, and then select Next.

    The Configure Default Prompt Value section appears.

  4. In the Default Prompt Value box, you can enter a default value for the prompt that will appear when a user runs the query, then select Finish.

    Note: You can select multiple default prompt values only if the Prompt Data Type is set to Character. If you do not want to provide a default value for the prompt, you can leave the text box blank.

    The prompt appears in the Expression Builder window.

  5. 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.