Mirth Connect 4.3.0 Released!

Mirth Connect 4.3.0 is now available as an appliance update and on our GitHub page.

This is a major release containing new features like adding new functionality to the Mirth Connect Setup Wizard, adding the ability for resource and channel-specific classloaders to load child-first or parent-first, and added a default implementation of the getObjectsForSwaggerExamples() method in the ServicePlugin class. This release also contains enhancements for the Mirth Connect Administrator Launcher, the Mirth Connect Docker images, and several bug fixes and security improvements.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

change filename

  • Filter
  • Time
  • Show
Clear All
new posts

  • change filename

    Can I make my filename look like this?

    "adt-ao1.ao1" or something descriptive like that? I used ${message.type} for the filename but it gives me "result.file" Is there a way to do this in javasript or in any ways possible? thanks guys! any suggestions will help

  • #2
    Re:change filename

    You can crete a variable using a JS step.
    Then, you can use the variable as the name of the file.


    • #3
      Re:change filename

      If I use a javascipt, does it require me to use reference functions like
      channelMap.put(key,''). I can't understand the parameters here.. Can u please explain?

      I'm only used to creating variables in the mapper. However, I can't undesrtand the syntax for the "Default Value, Regex, Replace With" ..

      Thank u albert!!!


      • #4
        Re:change filename

        Using the mapper is the same than using the funcion channelMap.put(key,data).

        To use this function

        key--> The name of the variable. This should be a string like 'myNewVariable'
        data--> The data to put into the variable.


        is the same than create a mapper step with name 'msh10' and the msh.10 field of the input message.

        Default value is the value if the map has no value. Regexp is for regular expressions... Google it.


        • #5
          Re:change filename

          Now I understand the parameteres, THanks to you!
          Does the default value and the Replace with requires me to use " ". I tried that before but it didn't work..

          Post edited by: shifting_18, at: 05/28/2007 18:29