Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

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

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

channelId problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • channelId problems

    I use channelId to identify an external file.

    However, it doesn not always resolve to the same value.

    For instance, in the Channel Source javascript, channelId yields

    <id>_source_connector

    while in transformer/filter, it yields

    <id>

    i.e. without the suffix.

    How can i get the same ID everywhere?

  • #2
    Re:channelId problems

    How/where are you referencing the channel Id as your message moves through a channel?

    Something like????:
    1. Find a file to read by channelId
    2. Do some processing, referencing the channelId for a DB column
    3. Drop the file someplace else with a different channel id (note: this step is odd since one could just use a channel writer)

    Can you post your channel that shows the behaviour?
    Jon Bartels

    Zen is hiring!!!!
    http://consultzen.com/careers/
    Talented healthcare IT professionals wanted. Engineers to sales to management.
    Good benefits, great working environment, genuinely interesting work.

    Comment


    • #3
      Re:channelId problems

      jbartels,

      I don't think it matters how i reference it... the problem is that the built-in "channelId" appends "_source_connector" when used in the Channel Source javascript. If references in the transformer or filter script, it's just the uuid.

      Comment


      • #4
        Re:channelId problems

        trymirth wrote:
        jbartels,

        I don't think it matters how i reference it... the problem is that the built-in "channelId" appends "_source_connector" when used in the Channel Source javascript. If references in the transformer or filter script, it's just the uuid.
        Sounds like a bug.

        I hate to tell people this, but it looks like your best option in the near term is to handle it with your own quick workaround. Append '_source_connector' to it where you've recognized that its happening.

        I expect that it would be a simple issue to resolve, could you also please file a bug report?
        Jon Bartels

        Zen is hiring!!!!
        http://consultzen.com/careers/
        Talented healthcare IT professionals wanted. Engineers to sales to management.
        Good benefits, great working environment, genuinely interesting work.

        Comment


        • #5
          Re:channelId problems

          Done: http://www.mirthproject.org/communit...owse/MIRTH-904

          Comment


          • #6
            Re:channelId problems

            trymirth wrote:
            Thanks!
            Jon Bartels

            Zen is hiring!!!!
            http://consultzen.com/careers/
            Talented healthcare IT professionals wanted. Engineers to sales to management.
            Good benefits, great working environment, genuinely interesting work.

            Comment

            Working...
            X