infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Product Enhancements
Alert Enhancement
Jamie Lubbert
Enhancement short description:
one alert triggers off of 2 conditions on 2 different threads.
Date:
12/06/2005
Operating System:
Microsoft Windows
Version of OS:
Windows 2003 Server
Cloverleaf Version:
5.3
Revision:
Rev 3
Tool:
Alert
Enhancement Long Description:
one alert triggers off of 2 conditions on 2 different threads. For example: If thread A has 50 pending and thread A hasn't sent data in the past 2 minutes.....then trigger the alert.
Many times we get a bunch of data in and it is processing fine, so we don't want the alert to trigger. But, if we have a bunch of data sitting there and not processing, we'd want to know.
_________________
Terri Sonethongkham
Blessing Hospital
(972) 361-3034
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Julie Kimmel
Good idea!
I had a similar situation, I was wanting to check the reason of a proto error, and the time that it occured, and I got around it by setting the alert to exec a batch file. The batch file called an .htc file. That way I could check anything that I wanted about the status of a thread.
( I am on windows 2000)
my .bat has:
DownProtError to_Output "Open failed" 30
(.htc file name) (thread) (error string) (time)
and my .htc has:
proc main {argv argc} {
set threadName [lindex $argv 0]
set errorString [lindex $argv 1]
set recently [lindex $argv 2]
catch {msiAttach} emsg
set nowtime [clock seconds]
msiGetStatSample $threadName var
keylget var PLASTERROR errortime
keylget var LASTUPDATE updatetime
keylget var PLASTERRTEXT ErrorText
if {[regexp $errorString $ErrorText]} {
if {[expr $nowtime - $errortime] < $recently} {
catch {exec cmd.exe /c hcicmd -p testP -c "to_Output pstop"} result
}}
}
main $argv $argc