mule - 骡子4中的Dataweave2.0
问题描述
notes=(payload.examples if payload.examples != null else “ “) ++ (\n\n**column1:\ntest: “ ++ vars.name) ++ ( “\n column2: “ ++ vars.date) ++ (“\n column3: “ ++ attributes.headers.speech)
这是 DataWeave 2.0,但错误提示输入无效。有人知道如何在mule 4中解决这个问题吗?
解决方案
您使用 if 执行条件检查的部分,即 '=!' 应该是'!='。如果这对你有帮助,请告诉我。
推荐阅读
- postgresql - 获取有关表分区的信息
- javascript - HTML, CSS & PHP - 防止模态框自动关闭
- cookies - Antiforgery Token Cookie 仅在嵌入 iframe 时才出现在请求标头中
- go - 不理解 Go 中的 func strings.TrimLeft
- r - 子图上的单色标度和 R 的 plot.ly
- java - Java Hibernate 刷新 j 表不起作用
- javascript - 返回每个选择的(例如选择为真)候选者共享的标签列表
- python - SSL 上的虚拟主机 - 从 httpd 2.2 升级到 2.4 后,无法在 virtualenv 中运行 Django 应用程序
- selenium-webdriver - 在 selenium webdriver 中初始化 chrome 浏览器时出错
- synchronization - Android Studio 3.2 毕业