start-process2.xaction 1.48 KB
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 44 45 46 47 48
<action-sequence>
  <name>start-process2.xaction</name>
  <title>Workflow Component Test</title>
  <version>1</version>

  <logging-level>debug</logging-level>
  <documentation>
    <author>James Dixon</author>
    <description>Test a workflow with a Pentaho Tool Agent</description>
    <help>just testing...</help>
		<icon>shark.png</icon>
    <result-type>process</result-type>
  </documentation>
  <inputs>
    <solution-id type="string">
			<sources>
				<runtime>solution-id</runtime> 
			</sources>
    </solution-id>
    <instance-id type="string">
			<sources>
				<runtime>instance-id</runtime> 
			</sources>
    </instance-id>
  </inputs>
  
  <actions>
      <action-definition>
        <action-inputs>
          <solution-id type="string" audit="true"/>
          <instance-id type="string" audit="false"/>
        </action-inputs>
        
        <component-name>SharkWorkflowComponent</component-name>
        <action-type>email</action-type>
        <component-definition>
        	<new-instance>true</new-instance>
          <workflow-defn>report1/workflow/JamesFlow4.xpdl</workflow-defn>
          <!--  this file name must be relative to the file's placement in the EXTERNAL_PACKAGES_REPOSITORY (see Shark.conf) -->
					<xpdl-file-name>JamesFlow4.xpdl</xpdl-file-name>
					<package-name>JamesFlow1</package-name>
					<process-name>JamesFlow1_Wor1</process-name>
					<new-instance>false</new-instance>
        </component-definition>
      </action-definition>
  </actions>
  
</action-sequence>