<action-sequence> <name>query_rule2.xaction</name> <version>1</version> <title>Regions and departments</title> <logging-level>debug</logging-level> <documentation> <author>James Dixon</author> <description>Javascript query rule test</description> <help>just testing...</help> </documentation> <inputs> </inputs> <outputs> <rule-result> <type>list</type> </rule-result> </outputs> <resources/> <actions> <action-definition> <action-outputs> <rule-result type="list"/> </action-outputs> <component-name>SQLLookupRule</component-name> <action-type>rule</action-type> <component-definition> <jndi>SampleData</jndi> <query><![CDATA[select distinct Region, Department from QUADRANT_ACTUALS]]></query> </component-definition> </action-definition> </actions> </action-sequence>