Are you looking to achieve something like below?
Update:
Try with the Logger content in the screenshot:
<logger level="INFO" doc:name="Logger" doc:id="a45f1214-f063-47bc-8c8f-a72b65b5633f" message='#[%dw 2.0
output /java
var TxId="1"
---
if(!isEmpty(vars.TxType)) "Trx Id:" ++ TxId ++ " Trx Type:" ++ vars.TxType else "Invalid Partner"]'/>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.