PDA

View Full Version : Problem with trigger


kyi
04-08-2005, 11:33
hi,

i want ot and a trigger to a template with this expression:

{App.ServicesDatev:service_state[MSSQL$DATEV_SV_SE01].diff(0)}>0

the key for this trigger is service_state[MSSQL$DATEV_SV_SE01]
but i cant add it. there is an error like this:

[ERROR:Invalid trigger expression]

Expression [{App.ServicesDatev:service_state[MSSQL$DATEV_SV_SE01].diff(0)}] does not match to [server:key.func(param)]

the problem ist the $ symbol in the name of the service.

any idea how to add this trigger?

Rudolf
04-08-2005, 11:39
Did you try to add a backslash before the dollar sign? like MSSQL\$DATEV_SV_SE01 not sure if it works.

kyi
04-08-2005, 11:43
the result of one \ before the $ is: \\$

but i have a solution:

1. add the key in configutation of items without the $
2. add the trigger without the $
3. change the key and add the $ and the trigger is right.