Troubleshooting
Problem
When XSLT Service is used within Begin and End Transaction Service, the GetDocumentInfo Service reports an error.
Symptom
Here is a sample business process where GetDocumentInfo Service will report error:
<operation name="Begin Transaction Service">
<participant name="BeginTransactionService"/>
<output message="BeginTransactionServiceTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="DISTRIBUTED">TRUE</assign>
<assign to="ON_FAULT">ROLLBACK</assign>
<assign to="START_TRANSACTION">TRUE</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<operation name="XSLTServiceTest">
<participant name="XSLTService"/>
<output message="XSLTServiceTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="input_pd_xpath">/</assign>
<assign to="xml_input_from">ProcData</assign>
<assign to="xslt_name">Test_xslt</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<operation name="Get Document Information Service">
<participant name="GetDocumentInfoService"/>
<output message="GetDocumentInfoServiceTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="BodyName">TestMsg.txt</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<operation name="End Transaction Service">
<participant name="EndTransactionService"/>
<output message="EndTransactionServiceTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="END_TRANSACTION">TRUE</assign>
<assign to="ROLLBACK_TRANSACTION">FALSE</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
The error thrown by GetDocumentInfo service can be seen in Status report :
com.sterlingcommerce.woodstock.workflow.DocumentNotFoundException: 000110011518 WORKFLOW.WORKFLOW.ERR_Document_DocumentNotFoundException22 Initial document for DocId 72815013f518956ffnode1 not found. It may have been archived.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
08 November 2019
UID
swg21649939