Condition Walkthrough
Walkthrough
Next, create an example query to retrieve only employees from New York:
1. Create a query following the same steps as before to select the employee node and create the table construction rules.
2. Select the 'Employee' node so that the condition field is enabled.
3. Click on the 'Edit' button for the condition editor.
4. Expand the 'location' node, select the 'state' field, and click 'Add'. Then fill in the condition to read “is equal to NY”.
5. Click 'OK' to accept the condition.


6. Click the 'Save' button on the main tool bar to save the condition.
The condition could also be entered manually in the condition text area as “location.state = 'NY'”.
If you run the query, the result will only contain information on employees from NY.
Figure 4. Filtered Query Output

| << Attaching a Conditional Expression | © 1996-2013 InetSoft Technology Corporation (v11.5) | 6.6.2 Querying a Text Data Source >> |