问题描述
在处理m子4时出现错误时,我尝试使用:
%dw 2.0
output application/java
---
"Hello Team"
"Recodarti Order export job Failed error is " ++ error.detailedDescription ++
"REP Sap Code is NULL please reverify the data and reprocessed the interface.
Thank You"
但是我在控制台中遇到脚本错误。如何用error.detailsDescription
连接字符串?
解决方法
可能由于脚本声明不正确而发生。
尝试以下
%dw 2.0
output application/java
---
"Hello Team \nRecodarti Order export job failed error is " ++ error.detailedDescription ++ "REP Sap Code is NULL please reverify the data and reprocessed the interface. \nThank You"
输出
Hello Team
Recodarti Order export job failed error is xxx REP Sap Code is NULL please reverify the data and reprocessed the interface.
Thank You