Skip to content
Advertisement

Mirth originalFilename rename

I have been trying to remove .dat from ${originalFilename} in destination when i tried to do this ${originalFilename}.txt it gave me like 1652807798759.dat.txt how can i get 1652807798759.txt only without .dat in it

I have tried to do this in Destination’s Transformer but no luck

JavaScript

Advertisement

Answer

A simple replace should work:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement