Reply To: tbllookup within Alert

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tbllookup within Alert Reply To: tbllookup within Alert

#59047
Michael Hertel
Participant

    I found something in the old archives…

    It’s from 2004…:

    Date:  Thu, 30 Dec 2004 15:35:45 -0600

    Author:  “Charlie Bursell” <charlie.bursell@quovadx.com>

    Subject:  RE: Table Lookup in Alerts

    Body:  This is a multi-part message in MIME format.


    =_NextPart_000_0015_01C4EE85.3B8528A0

    Content-Type: text/plain;

    charset=”iso-8859-1″

    Content-Transfer-Encoding: 7bit

    RE: Table Lookup in AlertsHowever, if Table Lookups are something you need

    to do via Tcl from the Alerts, let me know and I’ll provide you a

    work-around.

    Charlie


    Original Message


    From: bounce-clovertech-586@ajax.quovadx.com

    [mailto:bounce-clovertech-586@ajax.quovadx.com]On Behalf Of

    Mark.E.Thompson@HealthPartners.Com

    Sent: Thursday, December 30, 2004 2:19 PM

    To: Technical Issues

    Subject: [clovertech] RE: Table Lookup in Alerts

    As confirmed by Quovadx Support:

    When using a Tcl proc in an alert action type of Tcl, the proc will fail

    if it contains a table lookup. The same proc will work if it is called with

    an exec action. For example, if I have a proc named alert_test that

    contains a table lookup, the action {tcl alert_test} with fail with an

    “[aler:aler:ERR /0: hcimonitord] Tcl error: unable to load table

    ‘mytable.tbl'” error, but the action {exec {hcitcl -c ‘alert_test’}} works

    fine. This has been confirmed on 5.3 (no revs) — not sure if it is true on

    other versions.

    -Mark