web stats
Global Variables - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 02-18-2008, 03:20 PM
gauchomike gauchomike is offline
Mirth Newb
Join Date: Jun 2007
Posts: 16
Default Global Variables

I'm using global variables to store raw messages from an HL7 feed to use in a later channel. Once I get the data out of the global variable I clear the data. Is there a script that can be run to remove the global variable once the data has been cleared? I noticed that there is a setting on the dashboard to "Clear global map on deploy" but would like to clear on a daily basis rather than at deploy.
Reply With Quote
Old 02-19-2008, 08:56 AM
r_kerry r_kerry is offline
OBX.1 Kenobi
Join Date: Oct 2007
Posts: 45
Default Re:Global Variables

Couldn't you just place something in global scripts (post-process perhaps) to set the value to null?
Reply With Quote
Old 02-19-2008, 09:31 AM
albertosaez albertosaez is offline
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point
Default Re:Global Variables

You could use a JS channel executed daily to remove the variables. But I think Kerry solution (post-processing) is better.
Reply With Quote

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Global code adventsun Development 6 05-02-2008 10:02 AM
Access global function afterdark23 Support 4 02-14-2008 02:34 PM
Global map jerchap Support 1 01-30-2008 03:02 PM
Global functions - how to do it? Bleupomme Support 1 06-04-2007 11:29 AM
SQL Variables not showing under Available Variables in 1.4 bobbie Support 4 04-23-2007 05:35 PM

All times are GMT -8. The time now is 10:36 AM.

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