In Communications Builder, a PROCESS is not creating documents in the correct files location

I have a project in which I am trying to generate an XML file in two location. There are 2 documents in the input, so the code is performed twice (MERCHANDISE and FREIGHT). An XML file (lldocument.xml) should be generated in each of 2 directories, the files should be identical. The resulting files should be:
...\ECM\20240613112653678_APPF\123456_RECEIVING PRO-FORMA - MERCHANDISE\lldocument.xml
...\STRS_TEMP\ECM\20240613112653678_APPF\123456_RECEIVING PRO-FORMA - MERCHANDISE\lldocument.xml.
...\ECM\20240613112653678_APPF\123456_RECEIVING PRO-FORMA - FREIGHT\lldocument.xml
...\STRS_TEMP\ECM\20240613112653678_APPF\123456_RECEIVING PRO-FORMA - FREIGHT\lldocument.xml.
Here are the relevant parts of the log. There are no error or warning messages, these are exerpts of the log:

0613 112653 (1155) 3 *** DEBUG *** entered the loop
0613 112653 (1155) 3 *** DEBUG *** $xml_outputpath: \dev2_ppl_strs\ECM\20240613112653678_APPF\123456_RECEIVING PRO-FORMA - MERCHANDISE\lldocument.xml
0613 112653 (1155) 3 *** DEBUG *** $xml_outputpath_temp: \dev2_ppl_strs\STRS_TEMP\ECM\20240613112653678_APPF\123456_RECEIVING PRO-FORMA - MERCHANDISE\lldocument.xml
0613 112653 (1155) 3 *** DEBUG *** $xml_output_connector: XML Output_temp
0613 112653 (1739) 3 Process:XMLOUT (v. 50) > XML Output_temp(file=out_temp.xml,false,true)
0613 112653 (1155) 3 *** DEBUG $xml_output_connector: XML Output
0613 112653 (1739) 3 Process:XMLOUT (v. 50) > XML Output(file=out.xml,false,true)
0613 112653 (5105) 3 Receiver of created document set (Document, reciever):8E634024-C08C-DF4A-A531-94AD7D03D0DD,
. . .
0613 112653 (0048) 3 File outconnector: File \isch3.na.sysco.net\dev2_ppl_strs\ECM\20240613112653678_APPF\123456_RECEIVING PRO-FORMA - MERCHANDISE\lldocument.xml created.
0613 112653 (0576) 3 Queue item 8E634024-C08C-DF4A-A531-94AD7D03D0DD with external ID '' completed successfully.
. . .
0613 112653 (1155) 3 *** DEBUG *** entered the loop
0613 112653 (1155) 3 *** DEBUG *** $xml_outputpath = \dev2_ppl_strs\ECM\20240613112653784_APPF\123456_RECEIVING PRO-FORMA - FREIGHT\lldocument.xml
0613 112653 (1155) 3 *** DEBUG *** $xml_outputpath_temp = \dev2_ppl_strs\STRS_TEMP\ECM\20240613112653784_APPF\123456_RECEIVING PRO-FORMA - FREIGHT\lldocument.xml
0613 112653 (1155) 3 *** DEBUG *** $xml_output_connector: XML Output_temp
0613 112653 (1739) 3 Process:XMLOUT (v. 50) > XML Output_temp(file=out_temp.xml,false,true)
0613 112653 (5105) 3 Receiver of created document set (Document, reciever):74DD9CE1-882C-9049-B504-54BD7232270C,
0613 112653 (1155) 3 *** DEBUG *** $xml_output_connectorXML Output
0613 112653 (1739) 3 Process:XMLOUT (v. 50) > XML Output(file=out.xml,false,true)
0613 112653 (5105) 3 Receiver of created document set (Document, reciever):5EB08E90-A5FD-F846-89C4-633FED1AC893,
. . .
0613 112653 (0048) 3 File outconnector: File \dev2_ppl_strs\ECM\20240613112653784_APPF\123456_RECEIVING PRO-FORMA - FREIGHT\lldocument.xml created.
0613 112653 (0576) 3 Queue item 5EB08E90-A5FD-F846-89C4-633FED1AC893 with external ID '' completed successfully.
0613 112653 (0048) 3 File outconnector: File \dev2_ppl_strs\STRS_TEMP\ECM\20240613112653784_APPF\123456_RECEIVING PRO-FORMA - FREIGHT\lldocument.xml created.
0613 112653 (0576) 3 Queue item 74DD9CE1-882C-9049-B504-54BD7232270C with external ID '' completed successfully.

Only 1 directory/file is being generated for MERCHANDISE, and 2 directories/files are being generated for FREIGHT:
...\ECM\20240613112653678_APPF\123456_RECEIVING PRO-FORMA - MERCHANDISE\lldocument.xml
...\ECM\20240613112653784_APPF\123456_RECEIVING PRO-FORMA - FREIGHT\lldocument.xml
...\STRS_TEMP\ECM\20240613112653784_APPF\123456_RECEIVING PRO-FORMA - FREIGHT\lldocument.xml
The odd thing is, the XML for both documents are landing in the file in the STRS_TEMP\ECM FREIGHT directory..

Any help would be greatly appreciated!

Answers

  • Karen Weir
    Karen Weir E Community Administrator

    Please share your My Support ticket number and I can try to follow-up and move your post to the Support community.

  • Thank you Karen, I don't have one yet. However, I found my error. I missed adding the document trigger…total rookie mistake!