Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   connector is undefined (http://www.mirthcorp.com/community/forums/showthread.php?t=215802)

schedlerc 03-18-2016 12:30 PM

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
}


All times are GMT -8. The time now is 10:23 PM.

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