78 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			78 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/pe/WriteToLogActivitySchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 | |
|     <pd:name>Processes/sql/select operation.process</pd:name>
 | |
|     <pd:startName>Start</pd:startName>
 | |
|     <pd:startType>
 | |
|         <xsd:element name="root">
 | |
|             <xsd:complexType>
 | |
|                 <xsd:sequence>
 | |
|                     <xsd:element name="method" type="xsd:string"/>
 | |
|                     <xsd:element name="data" type="xsd:string"/>
 | |
|                 </xsd:sequence>
 | |
|             </xsd:complexType>
 | |
|         </xsd:element>
 | |
|     </pd:startType>
 | |
|     <pd:startX>95</pd:startX>
 | |
|     <pd:startY>76</pd:startY>
 | |
|     <pd:returnBindings/>
 | |
|     <pd:endName>End</pd:endName>
 | |
|     <pd:endX>718</pd:endX>
 | |
|     <pd:endY>81</pd:endY>
 | |
|     <pd:errorSchemas/>
 | |
|     <pd:processVariables/>
 | |
|     <pd:targetNamespace>http://xmlns.example.com/1719567794423</pd:targetNamespace>
 | |
|     <pd:activity name="Log">
 | |
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type>
 | |
|         <pd:resourceType>ae.activities.log</pd:resourceType>
 | |
|         <pd:x>400</pd:x>
 | |
|         <pd:y>78</pd:y>
 | |
|         <config>
 | |
|             <role>User</role>
 | |
|         </config>
 | |
|         <pd:inputBindings>
 | |
|             <ns:ActivityInput>
 | |
|                 <message>
 | |
|                     <xsl:value-of select="$Start/root/data"/>
 | |
|                 </message>
 | |
|             </ns:ActivityInput>
 | |
|         </pd:inputBindings>
 | |
|     </pd:activity>
 | |
|     <pd:activity name="selected process">
 | |
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
 | |
|         <pd:resourceType>ae.process.subprocess</pd:resourceType>
 | |
|         <pd:x>245</pd:x>
 | |
|         <pd:y>77</pd:y>
 | |
|         <config>
 | |
|             <processName>/Processes/sql/SQLPOST.process</processName>
 | |
|             <processNameXPath>concat( '/Processes/SQL', $Start/root/method ,'.process' )</processNameXPath>
 | |
|         </config>
 | |
|         <pd:inputBindings>
 | |
|             <root>
 | |
|                 <data>
 | |
|                     <xsl:value-of select="$Start/root/data"/>
 | |
|                 </data>
 | |
|             </root>
 | |
|         </pd:inputBindings>
 | |
|     </pd:activity>
 | |
|     <pd:transition>
 | |
|         <pd:from>Log</pd:from>
 | |
|         <pd:to>End</pd:to>
 | |
|         <pd:lineType>Default</pd:lineType>
 | |
|         <pd:lineColor>-16777216</pd:lineColor>
 | |
|         <pd:conditionType>always</pd:conditionType>
 | |
|     </pd:transition>
 | |
|     <pd:transition>
 | |
|         <pd:from>Start</pd:from>
 | |
|         <pd:to>selected process</pd:to>
 | |
|         <pd:lineType>Default</pd:lineType>
 | |
|         <pd:lineColor>-16777216</pd:lineColor>
 | |
|         <pd:conditionType>always</pd:conditionType>
 | |
|     </pd:transition>
 | |
|     <pd:transition>
 | |
|         <pd:from>selected process</pd:from>
 | |
|         <pd:to>Log</pd:to>
 | |
|         <pd:lineType>Default</pd:lineType>
 | |
|         <pd:lineColor>-16777216</pd:lineColor>
 | |
|         <pd:conditionType>always</pd:conditionType>
 | |
|     </pd:transition>
 | |
| </pd:ProcessDefinition> | 
