Getting started Community Training Tutorials Documentation APIs, AI & Tools
%dw 2.0
output application/xml
fun normalize(date) = (date) replace "/" with "-" replace "." with "-"
---
dates: (payload.dates mapObject {
normalized_as_string: normalize($)
})



