Question & Answer
Question
TextDocumentAppend Service does not allow the availability of the Document Name when viewed in Process Execution or AFT *|* -C5A1734279FFEBC78525791800066441- *|*
Answer
Technote (troubleshooting)
Problem(Abstract)
TextDocumentAppend Service does not allow the availability of the Document Name when viewed in Process Execution or AFT
Symptom
Customer is using the Text Document Append Service within his business process. This will then take the file and put it out in a mailbox. When the process runs after the Text Doc Append stap is ran it will delete the filename when you view it through the Process Execution. Then when you go into the AFT UI you will see a document put out in the mailbox however it will have no Doc Name. If you look directly at the mailbox the name is present.
Error MessageNo error message just a document in the mailbox that has no doc name when viewed via AFT.
Resolving the problem
Please apply Gentran Integration Suite Release 4.2 Build 4223.
Please apply Gentran Integration Suite Release 4.3Build 4324.
If unable to patch a workaround to force the DocumentName to remain available is to use the GetDocumentInfoService before and after the TextDocAppender. (See BPML below).
--------------------------------------------------------------
<process name="Pre_AFTRouteAddMailboxMessage">
<sequence>
<operation name="Get Document Information Service">
<participant name="GetDocumentInfoService"/>
<output message="GetDocumentInfoServiceTypeInputMessage">
<assign to="DocumentName" from="substring-after(/ProcessData/ServerResponse/Headers/Content-disposition/text() 'filename=')"></assign>
<assign to="updateMetaDataOnly">true</assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<operation name="Text Document Appender">
<participant name="TextDocAppender"/>
<output message="DocAppendInputMessage">
<assign to="appendString">Append String</assign>
<assign to="." from="*"></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="DocumentName" from="/ProcessData/DocumentName/text()"></assign>
<assign to="updateMetaDataOnly">true</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
</sequence>
</process>
| Segment | Product | Component | Platform | Version | Edition |
|---|---|---|---|---|---|
| Commerce | Sterling B2B Integrator | Adapters |
Historical Number
NFX8072
Product Alias/Synonym
Function Area
Service and Adapter
Escalation ID
00126385
Fix ID
210999 224721
Severity
Normal
Type
NormalFix
Build
4223 4324
Was this topic helpful?
Document Information
Modified date:
12 October 2021
UID
ibm10768995