# set batch messages to lower priority if { [hl7::get_field hl7 MSH.3] eq "AS_AFTER_EOD" || [hl7::get_field hl7 MSH.8] eq "REGBATCH" } { msgmetaset $mh PRIORITY 4999 }