web stats
connector is undefined - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2016, 12:30 PM
schedlerc schedlerc is offline
What's HL7?
 
Join Date: Aug 2013
Posts: 3
schedlerc is on a distinguished road
Default connector is undefined

I am on version 3.3.1.7856 and I've created a code template that needs to know what connector it is running from. When the code template is called from the Source tab with a Javascript Reader I am getting an error in the Server Log that 'connector is undefined'.

1. Is there a better/different variable I could be using?

2. What's wrong with my syntax? Even if I try to check if connector is undefined, I still get the error.
if(connector == undefined) {
//code
}
Reply With Quote
Reply

Tags
connector, javascript reader, source

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 -8. The time now is 09:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation