Troubleshooting
Problem
The output document of the Batch Processor service does not contain the content of the Input_Document
Symptom
The output document of the Batch Processor service does not contain the content of the Input_Document in GIS 4.1.1-1984.
I am attempting to use the batch processor service but while I can get the prefix ("<root>") added, the actual XML document to which I want to add the prefix is not included in the output document of the batch processor service. The XML document to which I should add the prefix is well-formed.
I do not actually want to modify the XML document (apart from adding the prefix) and therefore have created an Input document for the batch processor service that looks like this
<batchProcessor>
<fragment docname="Doc1">
</fragment>
</batchProcessor>
The BPML looks like this
<process name="TEST_BATCH_PROCESSOR">
<sequence>
<assign to="PrefixDocument"><root></assign>
<operation name="File System Adapter">
<participant name="File_System_Adapter"/>
<output message="FileSystemInputMessage">
<assign to="Action">FS_COLLECT</assign>
<assign to="collectionFolder">c:\collect</assign>
<assign to="deleteAfterCollect">false</assign>
<assign to="filter">REFERENCE.xml</assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<assign to="Doc1" from="</assign</a>>
<operation name="File System Adapter">
<participant name="File_System_Adapter"/>
<output message="FileSystemInputMessage">
<assign to="Action">FS_COLLECT</assign>
<assign to="collectionFolder">c:\collect</assign>
<assign to="deleteAfterCollect">false</assign>
<assign to="filter">InputDocument.txt</assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<assign to="InputDocument" from="</assign</a>>
<operation name="BatchProcessor">
<participant name="BatchProcessorService"/>
<output message="outmsg">
<assign to="." from="*"></assign>
<assign to="prefix_document">PrefixDocument</assign>
<assign to="input_document">InputDocument</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
<assign to="batchResult" from="*"/>
</input>
</operation>
</sequence>
</process>
Error MessageNo error messages reported in system.log or wf.log
Log InLog in to view more of this document
Historical Number
TRB2175
Was this topic helpful?
Document Information
Modified date:
25 February 2019
UID
swg21561288