sql finished
This commit is contained in:
		| @@ -1,5 +1,5 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" 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:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" 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" xmlns:ns2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> |     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> | ||||||
|     <pd:name>Processes/sql/author/SqlDELETE.process</pd:name> |     <pd:name>Processes/sql/author/SqlDELETE.process</pd:name> | ||||||
|     <pd:startName>Start</pd:startName> |     <pd:startName>Start</pd:startName> | ||||||
| @@ -17,7 +17,7 @@ | |||||||
|     <pd:returnBindings> |     <pd:returnBindings> | ||||||
|         <root> |         <root> | ||||||
|             <status> |             <status> | ||||||
|                 <xsl:value-of select="concat('author deleted, rows affected: ', $JDBC-Update/jdbcUpdateActivityOutput/noOfUpdates)"/> |                 <xsl:value-of select="concat('author deleted, rows affected: ', $DeleteAuthor/jdbcUpdateActivityOutput/noOfUpdates)"/> | ||||||
|             </status> |             </status> | ||||||
|         </root> |         </root> | ||||||
|     </pd:returnBindings> |     </pd:returnBindings> | ||||||
| @@ -37,7 +37,7 @@ | |||||||
|     <pd:errorSchemas/> |     <pd:errorSchemas/> | ||||||
|     <pd:processVariables/> |     <pd:processVariables/> | ||||||
|     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> |     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> | ||||||
|     <pd:activity name="JDBC Update"> |     <pd:activity name="DeleteAuthor"> | ||||||
|         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> |         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> | ||||||
|         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> |         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> | ||||||
|         <pd:x>424</pd:x> |         <pd:x>424</pd:x> | ||||||
| @@ -63,16 +63,73 @@ | |||||||
|             </jdbcUpdateActivityInput> |             </jdbcUpdateActivityInput> | ||||||
|         </pd:inputBindings> |         </pd:inputBindings> | ||||||
|     </pd:activity> |     </pd:activity> | ||||||
|  |     <pd:activity name="Catch"> | ||||||
|  |         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||||
|  |         <pd:x>249</pd:x> | ||||||
|  |         <pd:y>164</pd:y> | ||||||
|  |         <pd:handler>true</pd:handler> | ||||||
|  |         <config> | ||||||
|  |             <catchAll>true</catchAll> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings/> | ||||||
|  |     </pd:activity> | ||||||
|  |     <pd:activity name="Generate Error"> | ||||||
|  |         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||||
|  |         <pd:x>514</pd:x> | ||||||
|  |         <pd:y>165</pd:y> | ||||||
|  |         <config> | ||||||
|  |             <faultName/> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings> | ||||||
|  |             <ns2:ActivityInput> | ||||||
|  |                 <message> | ||||||
|  |                     <xsl:value-of select="string($Catch/exceptiondata)"/> | ||||||
|  |                 </message> | ||||||
|  |             </ns2:ActivityInput> | ||||||
|  |         </pd:inputBindings> | ||||||
|  |     </pd:activity> | ||||||
|  |     <pd:activity name="LogInputData"> | ||||||
|  |         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||||
|  |         <pd:x>284</pd:x> | ||||||
|  |         <pd:y>62</pd:y> | ||||||
|  |         <config> | ||||||
|  |             <role>User</role> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings> | ||||||
|  |             <ns:ActivityInput> | ||||||
|  |                 <message> | ||||||
|  |                     <xsl:value-of select="concat('input data',string($Start/root))"/> | ||||||
|  |                 </message> | ||||||
|  |             </ns:ActivityInput> | ||||||
|  |         </pd:inputBindings> | ||||||
|  |     </pd:activity> | ||||||
|     <pd:transition> |     <pd:transition> | ||||||
|         <pd:from>JDBC Update</pd:from> |         <pd:from>DeleteAuthor</pd:from> | ||||||
|         <pd:to>End</pd:to> |         <pd:to>End</pd:to> | ||||||
|         <pd:lineType>Default</pd:lineType> |         <pd:lineType>Default</pd:lineType> | ||||||
|         <pd:lineColor>-16777216</pd:lineColor> |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|         <pd:conditionType>always</pd:conditionType> |         <pd:conditionType>always</pd:conditionType> | ||||||
|     </pd:transition> |     </pd:transition> | ||||||
|  |     <pd:transition> | ||||||
|  |         <pd:from>Catch</pd:from> | ||||||
|  |         <pd:to>Generate Error</pd:to> | ||||||
|  |         <pd:lineType>Default</pd:lineType> | ||||||
|  |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|  |         <pd:conditionType>always</pd:conditionType> | ||||||
|  |     </pd:transition> | ||||||
|     <pd:transition> |     <pd:transition> | ||||||
|         <pd:from>Start</pd:from> |         <pd:from>Start</pd:from> | ||||||
|         <pd:to>JDBC Update</pd:to> |         <pd:to>LogInputData</pd:to> | ||||||
|  |         <pd:lineType>Default</pd:lineType> | ||||||
|  |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|  |         <pd:conditionType>always</pd:conditionType> | ||||||
|  |     </pd:transition> | ||||||
|  |     <pd:transition> | ||||||
|  |         <pd:from>LogInputData</pd:from> | ||||||
|  |         <pd:to>DeleteAuthor</pd:to> | ||||||
|         <pd:lineType>Default</pd:lineType> |         <pd:lineType>Default</pd:lineType> | ||||||
|         <pd:lineColor>-16777216</pd:lineColor> |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|         <pd:conditionType>always</pd:conditionType> |         <pd:conditionType>always</pd:conditionType> | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" 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:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" 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" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> |     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> | ||||||
|     <pd:name>Processes/sql/author/SqlGET.process</pd:name> |     <pd:name>Processes/sql/author/SqlGET.process</pd:name> | ||||||
|     <pd:startName>Start</pd:startName> |     <pd:startName>Start</pd:startName> | ||||||
| @@ -17,25 +17,25 @@ | |||||||
|     <pd:returnBindings> |     <pd:returnBindings> | ||||||
|         <root> |         <root> | ||||||
|             <pfx:author> |             <pfx:author> | ||||||
|                 <xsl:if test="$JDBC-Query/resultSet/Record[1]/id"> |                 <xsl:if test="$GetAuthor/resultSet/Record[1]/id"> | ||||||
|                     <xsl:attribute name="id"> |                     <xsl:attribute name="id"> | ||||||
|                         <xsl:value-of select="$JDBC-Query/resultSet/Record[1]/id"/> |                         <xsl:value-of select="$GetAuthor/resultSet/Record[1]/id"/> | ||||||
|                     </xsl:attribute> |                     </xsl:attribute> | ||||||
|                 </xsl:if> |                 </xsl:if> | ||||||
|                 <pfx:firstName> |                 <pfx:firstName> | ||||||
|                     <xsl:value-of select="$JDBC-Query/resultSet/Record[1]/firstname"/> |                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/firstname"/> | ||||||
|                 </pfx:firstName> |                 </pfx:firstName> | ||||||
|                 <pfx:lastName> |                 <pfx:lastName> | ||||||
|                     <xsl:value-of select="$JDBC-Query/resultSet/Record[1]/lastname"/> |                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/lastname"/> | ||||||
|                 </pfx:lastName> |                 </pfx:lastName> | ||||||
|                 <pfx:age> |                 <pfx:age> | ||||||
|                     <xsl:value-of select="$JDBC-Query/resultSet/Record[1]/age"/> |                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/age"/> | ||||||
|                 </pfx:age> |                 </pfx:age> | ||||||
|                 <pfx:dateOfBirth> |                 <pfx:dateOfBirth> | ||||||
|                     <xsl:value-of select="substring-before($JDBC-Query/resultSet/Record[1]/date_of_birth,"T")"/> |                     <xsl:value-of select="substring-before($GetAuthor/resultSet/Record[1]/date_of_birth,"T")"/> | ||||||
|                 </pfx:dateOfBirth> |                 </pfx:dateOfBirth> | ||||||
|                 <pfx:dateOfDeath> |                 <pfx:dateOfDeath> | ||||||
|                     <xsl:value-of select="substring-before($JDBC-Query/resultSet/Record[1]/date_of_death,"T")"/> |                     <xsl:value-of select="substring-before($GetAuthor/resultSet/Record[1]/date_of_death,"T")"/> | ||||||
|                 </pfx:dateOfDeath> |                 </pfx:dateOfDeath> | ||||||
|             </pfx:author> |             </pfx:author> | ||||||
|             <status> |             <status> | ||||||
| @@ -59,10 +59,10 @@ | |||||||
|     <pd:errorSchemas/> |     <pd:errorSchemas/> | ||||||
|     <pd:processVariables/> |     <pd:processVariables/> | ||||||
|     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> |     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> | ||||||
|     <pd:activity name="JDBC Query"> |     <pd:activity name="GetAuthor"> | ||||||
|         <pd:type>com.tibco.plugin.jdbc.JDBCQueryActivity</pd:type> |         <pd:type>com.tibco.plugin.jdbc.JDBCQueryActivity</pd:type> | ||||||
|         <pd:resourceType>ae.activities.JDBCQueryActivity</pd:resourceType> |         <pd:resourceType>ae.activities.JDBCQueryActivity</pd:resourceType> | ||||||
|         <pd:x>459</pd:x> |         <pd:x>463</pd:x> | ||||||
|         <pd:y>109</pd:y> |         <pd:y>109</pd:y> | ||||||
|         <config> |         <config> | ||||||
|             <timeout>10</timeout> |             <timeout>10</timeout> | ||||||
| @@ -112,8 +112,51 @@ | |||||||
|             </jdbcQueryActivityInput> |             </jdbcQueryActivityInput> | ||||||
|         </pd:inputBindings> |         </pd:inputBindings> | ||||||
|     </pd:activity> |     </pd:activity> | ||||||
|  |     <pd:activity name="LogInputData"> | ||||||
|  |         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||||
|  |         <pd:x>285</pd:x> | ||||||
|  |         <pd:y>110</pd:y> | ||||||
|  |         <config> | ||||||
|  |             <role>User</role> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings> | ||||||
|  |             <ns:ActivityInput> | ||||||
|  |                 <message> | ||||||
|  |                     <xsl:value-of select="concat('input data',string($Start/root))"/> | ||||||
|  |                 </message> | ||||||
|  |             </ns:ActivityInput> | ||||||
|  |         </pd:inputBindings> | ||||||
|  |     </pd:activity> | ||||||
|  |     <pd:activity name="Catch"> | ||||||
|  |         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||||
|  |         <pd:x>257</pd:x> | ||||||
|  |         <pd:y>246</pd:y> | ||||||
|  |         <pd:handler>true</pd:handler> | ||||||
|  |         <config> | ||||||
|  |             <catchAll>true</catchAll> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings/> | ||||||
|  |     </pd:activity> | ||||||
|  |     <pd:activity name="Generate Error"> | ||||||
|  |         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||||
|  |         <pd:x>427</pd:x> | ||||||
|  |         <pd:y>248</pd:y> | ||||||
|  |         <config> | ||||||
|  |             <faultName/> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings> | ||||||
|  |             <ns1:ActivityInput> | ||||||
|  |                 <message> | ||||||
|  |                     <xsl:value-of select="string($Catch/exceptiondata)"/> | ||||||
|  |                 </message> | ||||||
|  |             </ns1:ActivityInput> | ||||||
|  |         </pd:inputBindings> | ||||||
|  |     </pd:activity> | ||||||
|     <pd:transition> |     <pd:transition> | ||||||
|         <pd:from>JDBC Query</pd:from> |         <pd:from>GetAuthor</pd:from> | ||||||
|         <pd:to>End</pd:to> |         <pd:to>End</pd:to> | ||||||
|         <pd:lineType>Default</pd:lineType> |         <pd:lineType>Default</pd:lineType> | ||||||
|         <pd:lineColor>-16777216</pd:lineColor> |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
| @@ -121,7 +164,21 @@ | |||||||
|     </pd:transition> |     </pd:transition> | ||||||
|     <pd:transition> |     <pd:transition> | ||||||
|         <pd:from>Start</pd:from> |         <pd:from>Start</pd:from> | ||||||
|         <pd:to>JDBC Query</pd:to> |         <pd:to>LogInputData</pd:to> | ||||||
|  |         <pd:lineType>Default</pd:lineType> | ||||||
|  |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|  |         <pd:conditionType>always</pd:conditionType> | ||||||
|  |     </pd:transition> | ||||||
|  |     <pd:transition> | ||||||
|  |         <pd:from>LogInputData</pd:from> | ||||||
|  |         <pd:to>GetAuthor</pd:to> | ||||||
|  |         <pd:lineType>Default</pd:lineType> | ||||||
|  |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|  |         <pd:conditionType>always</pd:conditionType> | ||||||
|  |     </pd:transition> | ||||||
|  |     <pd:transition> | ||||||
|  |         <pd:from>Catch</pd:from> | ||||||
|  |         <pd:to>Generate Error</pd:to> | ||||||
|         <pd:lineType>Default</pd:lineType> |         <pd:lineType>Default</pd:lineType> | ||||||
|         <pd:lineColor>-16777216</pd:lineColor> |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|         <pd:conditionType>always</pd:conditionType> |         <pd:conditionType>always</pd:conditionType> | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" 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" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> |     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> | ||||||
|     <pd:name>Processes/sql/author/SqlPOST.process</pd:name> |     <pd:name>Processes/sql/author/SqlPOST.process</pd:name> | ||||||
|     <pd:startName>Start</pd:startName> |     <pd:startName>Start</pd:startName> | ||||||
| @@ -37,7 +37,7 @@ | |||||||
|     <pd:errorSchemas/> |     <pd:errorSchemas/> | ||||||
|     <pd:processVariables/> |     <pd:processVariables/> | ||||||
|     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> |     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> | ||||||
|     <pd:activity name="JDBC Update"> |     <pd:activity name="AddAuthor"> | ||||||
|         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> |         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> | ||||||
|         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> |         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> | ||||||
|         <pd:x>384</pd:x> |         <pd:x>384</pd:x> | ||||||
| @@ -119,8 +119,51 @@ | |||||||
|             </jdbcUpdateActivityInput> |             </jdbcUpdateActivityInput> | ||||||
|         </pd:inputBindings> |         </pd:inputBindings> | ||||||
|     </pd:activity> |     </pd:activity> | ||||||
|  |     <pd:activity name="LogInputData"> | ||||||
|  |         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||||
|  |         <pd:x>274</pd:x> | ||||||
|  |         <pd:y>113</pd:y> | ||||||
|  |         <config> | ||||||
|  |             <role>User</role> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings> | ||||||
|  |             <ns:ActivityInput> | ||||||
|  |                 <message> | ||||||
|  |                     <xsl:value-of select="concat('input data',string($Start/root))"/> | ||||||
|  |                 </message> | ||||||
|  |             </ns:ActivityInput> | ||||||
|  |         </pd:inputBindings> | ||||||
|  |     </pd:activity> | ||||||
|  |     <pd:activity name="Catch"> | ||||||
|  |         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||||
|  |         <pd:x>281</pd:x> | ||||||
|  |         <pd:y>239</pd:y> | ||||||
|  |         <pd:handler>true</pd:handler> | ||||||
|  |         <config> | ||||||
|  |             <catchAll>true</catchAll> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings/> | ||||||
|  |     </pd:activity> | ||||||
|  |     <pd:activity name="Generate Error"> | ||||||
|  |         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||||
|  |         <pd:x>418</pd:x> | ||||||
|  |         <pd:y>240</pd:y> | ||||||
|  |         <config> | ||||||
|  |             <faultName/> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings> | ||||||
|  |             <ns1:ActivityInput> | ||||||
|  |                 <message> | ||||||
|  |                     <xsl:value-of select="string($Catch/exceptiondata)"/> | ||||||
|  |                 </message> | ||||||
|  |             </ns1:ActivityInput> | ||||||
|  |         </pd:inputBindings> | ||||||
|  |     </pd:activity> | ||||||
|     <pd:transition> |     <pd:transition> | ||||||
|         <pd:from>JDBC Update</pd:from> |         <pd:from>AddAuthor</pd:from> | ||||||
|         <pd:to>End</pd:to> |         <pd:to>End</pd:to> | ||||||
|         <pd:lineType>Default</pd:lineType> |         <pd:lineType>Default</pd:lineType> | ||||||
|         <pd:lineColor>-16777216</pd:lineColor> |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
| @@ -128,7 +171,21 @@ | |||||||
|     </pd:transition> |     </pd:transition> | ||||||
|     <pd:transition> |     <pd:transition> | ||||||
|         <pd:from>Start</pd:from> |         <pd:from>Start</pd:from> | ||||||
|         <pd:to>JDBC Update</pd:to> |         <pd:to>LogInputData</pd:to> | ||||||
|  |         <pd:lineType>Default</pd:lineType> | ||||||
|  |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|  |         <pd:conditionType>always</pd:conditionType> | ||||||
|  |     </pd:transition> | ||||||
|  |     <pd:transition> | ||||||
|  |         <pd:from>LogInputData</pd:from> | ||||||
|  |         <pd:to>AddAuthor</pd:to> | ||||||
|  |         <pd:lineType>Default</pd:lineType> | ||||||
|  |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|  |         <pd:conditionType>always</pd:conditionType> | ||||||
|  |     </pd:transition> | ||||||
|  |     <pd:transition> | ||||||
|  |         <pd:from>Catch</pd:from> | ||||||
|  |         <pd:to>Generate Error</pd:to> | ||||||
|         <pd:lineType>Default</pd:lineType> |         <pd:lineType>Default</pd:lineType> | ||||||
|         <pd:lineColor>-16777216</pd:lineColor> |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|         <pd:conditionType>always</pd:conditionType> |         <pd:conditionType>always</pd:conditionType> | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ | |||||||
|     <pd:returnBindings> |     <pd:returnBindings> | ||||||
|         <root> |         <root> | ||||||
|             <status> |             <status> | ||||||
|                 <xsl:value-of select="concat("update succes, rows affected",$JDBC-Update/jdbcUpdateActivityOutput/noOfUpdates)"/> |                 <xsl:value-of select="concat("update succes, rows affected",$UpdateAuthor/jdbcUpdateActivityOutput/noOfUpdates)"/> | ||||||
|             </status> |             </status> | ||||||
|         </root> |         </root> | ||||||
|     </pd:returnBindings> |     </pd:returnBindings> | ||||||
| @@ -37,7 +37,7 @@ | |||||||
|     <pd:errorSchemas/> |     <pd:errorSchemas/> | ||||||
|     <pd:processVariables/> |     <pd:processVariables/> | ||||||
|     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> |     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> | ||||||
|     <pd:activity name="JDBC Update"> |     <pd:activity name="UpdateAuthor"> | ||||||
|         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> |         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> | ||||||
|         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> |         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> | ||||||
|         <pd:x>387</pd:x> |         <pd:x>387</pd:x> | ||||||
| @@ -122,8 +122,51 @@ WHERE id = ?; | |||||||
|             </jdbcUpdateActivityInput> |             </jdbcUpdateActivityInput> | ||||||
|         </pd:inputBindings> |         </pd:inputBindings> | ||||||
|     </pd:activity> |     </pd:activity> | ||||||
|  |     <pd:activity name="LogInputData"> | ||||||
|  |         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||||
|  |         <pd:x>255</pd:x> | ||||||
|  |         <pd:y>63</pd:y> | ||||||
|  |         <config> | ||||||
|  |             <role>User</role> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings> | ||||||
|  |             <ns:ActivityInput> | ||||||
|  |                 <message> | ||||||
|  |                     <xsl:value-of select="concat('input data',string($Start/root))"/> | ||||||
|  |                 </message> | ||||||
|  |             </ns:ActivityInput> | ||||||
|  |         </pd:inputBindings> | ||||||
|  |     </pd:activity> | ||||||
|  |     <pd:activity name="Catch"> | ||||||
|  |         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||||
|  |         <pd:x>308</pd:x> | ||||||
|  |         <pd:y>228</pd:y> | ||||||
|  |         <pd:handler>true</pd:handler> | ||||||
|  |         <config> | ||||||
|  |             <catchAll>true</catchAll> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings/> | ||||||
|  |     </pd:activity> | ||||||
|  |     <pd:activity name="Generate Error"> | ||||||
|  |         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||||
|  |         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||||
|  |         <pd:x>446</pd:x> | ||||||
|  |         <pd:y>226</pd:y> | ||||||
|  |         <config> | ||||||
|  |             <faultName/> | ||||||
|  |         </config> | ||||||
|  |         <pd:inputBindings> | ||||||
|  |             <ns1:ActivityInput xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||||
|  |                 <message> | ||||||
|  |                     <xsl:value-of xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="string($Catch/exceptiondata)"/> | ||||||
|  |                 </message> | ||||||
|  |             </ns1:ActivityInput> | ||||||
|  |         </pd:inputBindings> | ||||||
|  |     </pd:activity> | ||||||
|     <pd:transition> |     <pd:transition> | ||||||
|         <pd:from>JDBC Update</pd:from> |         <pd:from>UpdateAuthor</pd:from> | ||||||
|         <pd:to>End</pd:to> |         <pd:to>End</pd:to> | ||||||
|         <pd:lineType>Default</pd:lineType> |         <pd:lineType>Default</pd:lineType> | ||||||
|         <pd:lineColor>-16777216</pd:lineColor> |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
| @@ -131,7 +174,21 @@ WHERE id = ?; | |||||||
|     </pd:transition> |     </pd:transition> | ||||||
|     <pd:transition> |     <pd:transition> | ||||||
|         <pd:from>Start</pd:from> |         <pd:from>Start</pd:from> | ||||||
|         <pd:to>JDBC Update</pd:to> |         <pd:to>LogInputData</pd:to> | ||||||
|  |         <pd:lineType>Default</pd:lineType> | ||||||
|  |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|  |         <pd:conditionType>always</pd:conditionType> | ||||||
|  |     </pd:transition> | ||||||
|  |     <pd:transition> | ||||||
|  |         <pd:from>LogInputData</pd:from> | ||||||
|  |         <pd:to>UpdateAuthor</pd:to> | ||||||
|  |         <pd:lineType>Default</pd:lineType> | ||||||
|  |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|  |         <pd:conditionType>always</pd:conditionType> | ||||||
|  |     </pd:transition> | ||||||
|  |     <pd:transition> | ||||||
|  |         <pd:from>Catch</pd:from> | ||||||
|  |         <pd:to>Generate Error</pd:to> | ||||||
|         <pd:lineType>Default</pd:lineType> |         <pd:lineType>Default</pd:lineType> | ||||||
|         <pd:lineColor>-16777216</pd:lineColor> |         <pd:lineColor>-16777216</pd:lineColor> | ||||||
|         <pd:conditionType>always</pd:conditionType> |         <pd:conditionType>always</pd:conditionType> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 wojciech
					wojciech