web stats
File Reader Channel - Variable as Directory - Page 2 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #11  
Old 09-11-2013, 10:42 AM
FReilly FReilly is offline
Mirth Newb
 
Join Date: Aug 2013
Posts: 21
FReilly is on a distinguished road
Default

Sure, It'll be tomorrow though - I'm at home now.

Just a thought - you aren't testing on the nightly builds are you? I'm using 3.0.0.6824 (which is RC2?), if you are perhaps it's been resolved?
Reply With Quote
  #12  
Old 09-11-2013, 10:49 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

You know what, it's probably because of the global script:

Code:
globalMap.put('FileInputLocation','C:\\HL7Messages');
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #13  
Old 09-12-2013, 12:22 AM
FReilly FReilly is offline
Mirth Newb
 
Join Date: Aug 2013
Posts: 21
FReilly is on a distinguished road
Default

Unfortunately that didn't work either. Here is the config.

2013-09-12 Mirth Backup.xml

Thanks
Reply With Quote
  #14  
Old 09-12-2013, 07:41 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

Quote:
Originally Posted by FReilly View Post
Unfortunately that didn't work either. Here is the config.

Attachment 1485

Thanks
In your FileSystem Watcher channel, you have "C:HL7Messages" rather than "${FileInputLocation}".
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #15  
Old 09-13-2013, 01:44 AM
FReilly FReilly is offline
Mirth Newb
 
Join Date: Aug 2013
Posts: 21
FReilly is on a distinguished road
Default

It looks like the export is setting the value transformed from the deploy. That must have been from a deploy when I had C:\HL7Messages set in the globalmap.put.

I just redeployed with C:\\HL7Messages then exported the config, and that value is now C:\HL7Messages

Attached is the current export - and the Channel Directory value is definitely ${FileInputLocation}.

2013-09-13 Mirth Backup.xml
Reply With Quote
  #16  
Old 09-13-2013, 01:55 AM
FReilly FReilly is offline
Mirth Newb
 
Join Date: Aug 2013
Posts: 21
FReilly is on a distinguished road
Default

OK, I just updated to 3.0.0.6912, and it seems to be working now.

Thanks for all the help Narupley, I'm still fairly new to all the Mirth stuff, and have to get it running to a deadline at the moment.

Last edited by FReilly; 09-13-2013 at 02:45 AM.
Reply With Quote
Reply

Tags
file reader, source connector, variable

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 06:48 AM.


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