web stats
Mirth Community - View Single Post - connector is undefined
View Single Post
  #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