我是 BusinessWorks 的新手。这是我的应用程序的基本流程:
接收邮件
基本配置。我很肯定这是有效的。
流(链接)
检查附件
日志
输出附件名称,如Email has attachment: application/xml; 名称="test.xml"
流(链接)
检查它是否是正确的附件(当前为“test.xml”)
写文件
从 $ReceiveMail/tns1:mimeEnvelopeElement/mimePart 1 /textContent写入文件
日志
从 $WriteFile/fileInfo/fullName 输出文件名
因此,鉴于所有这些,这是我的输出:
12:23:22.551 INFO: Started BW Application [EmailTest.application:1.0]
12:23:53.058 INFO: Email has attachment: application/xml; name="test.xml"
12:23:53.062 INFO: File written: C:\temp\out\test.xml
这告诉我“test.xml”附件的路径检查有效。它还告诉我 WriteFile 正在传递我所期望的 $WriteFile/fileInfo/fullName
我究竟做错了什么?