You can define your own DataWeave functionsusing the fun declaration in the header of a DataWeave script. Sample is as below. ----------------------------------------
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit