Queries that Require User Input
Quite often a value that a query should use in its conditions must be entered by a user at run time rather than pre-configured. For example, consider a query that finds the owner’s accounts after the owner’s name has been entered by the user. Aware IM allows configuring such a query – the configurator will need to specify the business object that the query should be looking for as well as the attributes and criteria participating in the query condition(s). However, instead of specifying a particular value of the attribute(s) in the condition(s) the configurator will need to indicate that the value should be entered at run time. When the user runs such a query in the Operation Mode Aware IM automatically generates a form where the user enters the required value(s) (in the above example - the name of the owner that the query will be looking for). After the required value has been entered Aware IM performs the search and displays the results.
A query may require several values to be specified by the user (for example, a query that finds accounts of owners with the names that start with the specified value and with balances that are greater than the specified amount). In this case Aware IM generates a form that prompts for the values of every attribute that requires input from the user.
It is possible to mix conditions that check for pre-configured values with conditions that require input from the user within a single query.