web stats
Mirth Community - View Single Post - ChannelUtil question
View Single Post
  #2  
Old 12-03-2015, 06:02 AM
jadams4's Avatar
jadams4 jadams4 is offline
OBX.3 Kenobi
 
Join Date: Aug 2015
Posts: 143
jadams4 is on a distinguished road
Default

Hi Rubi,

I do not have an example but here is a link to ChannelUtil.

http://javadocs.mirthcorp.com/connec...annelUtil.html

This is for version 3.2.2 not sure what version you are on?

I usually use it in a javascript transformer step. You could also do:
Code:
 logger.info(ChannelUtil.getChannelNames());
to see what results you are getting.

Also don't forget about auto complete Mirth has added, you can type ChannelUtil. and a list will appear with uses.

Can you clarify more the use you need? You want the channel name/channel id/ and connectors of each channel in connect?

Hope this helps some!
Reply With Quote