0 How to convert any datatype other than string to String in mule-config.xml 0 mule dataweave- to convert to a substring 2 Mule dataweave: convert decimal to an integer 1 Convert string to boolean, decimal, number and integer in Dataweave 0 Mule 3.9 Dataweave droping .00 from integ...
You can convert array to string as described here https://simpleflatservice.com/mule4/Object_as_string.html %dw 2.0 output application/json --- { "Input1": "V", "Input2": "01", "Inputs3": (write(["YFMXQ" , "OIRPO"],'application/json') as String) replace ...
just put you message string in a payload map and use object to JSON transformer ... you can use dynamic values for map <set-payload value="# [['Num': $param1, 'type':$param2]]" doc:name="Set Payload" /> <mule xmlns:json="http: 47; 47;www 46;mulesoft 46;org/...