web stats
Preprocessor Message Variables - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2010, 04:05 AM
Yorkie Yorkie is offline
Mirth Newb
 
Join Date: Oct 2009
Posts: 23
Yorkie is on a distinguished road
Default Preprocessor Message Variables

I'm looking at the preprocessor at the moment and wonder what variables/functions are available to identifier the source of the message, message type, details of the channel it's targeted at etc. etc.

How would I for instance only target a JavaScript mod on messages for channel 1, but not 2 and 3? or all HL7 messages, but not XML?

Regards,
Craig
Reply With Quote
  #2  
Old 02-17-2010, 05:02 PM
geraldb geraldb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 199
geraldb is an unknown quantity at this point
Default

The following variables are available to you in the pre-processor:
  • message
  • logger
  • globalMap
  • router
__________________
Gerald Bortis | Sr. Software Engineer | Mirth Corporation

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Mirth Corporation