regions.rule.xaction 956 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

<action-sequence>

	<name>regions.rule.xaction</name>
	<version>1</version>
	<title>Regions list</title>
	<logging-level>debug</logging-level>
	<documentation>
		<author>James Dixon</author>
		<description></description>
		<help></help>
		<result-type>rule</result-type>
	</documentation>

	<inputs>
    </inputs>
  
	<outputs>
		<rule-result type="list"/>
	</outputs>
  <resources/>
  
  <actions>
      <action-definition>

        <action-inputs>
          <dept type="string"/>
        </action-inputs>
        
        <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 from QUADRANT_ACTUALS order by REGION]]></query>
        </component-definition>
      </action-definition>
  </actions>
</action-sequence>