web stats
Mirth Community - View Single Post - ChannelUtil question
View Single Post
  #7  
Old 12-03-2015, 05:57 AM
mcalKno mcalKno is offline
 
Join Date: Apr 2015
Location: Pennsylvania
Posts: 247
mcalKno is on a distinguished road
Default

Destination Transformer:
Code:
var fileContents = 'ChannelId: '+channelId+'\n'+'Channel Name: '+ChannelUtil.getChannelName(channelId);
channelMap.put('fileContents', fileContents);
Destination File writer template:
Code:
${fileContents}
Reply With Quote