Ad Widget

Collapse

Problem with trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kyi
    Member
    • Jun 2005
    • 64

    #1

    Problem with trigger

    hi,

    i want ot and a trigger to a template with this expression:
    Code:
    {App.ServicesDatev:service_state[MSSQL$DATEV_SV_SE01].diff(0)}>0
    the key for this trigger is
    Code:
    service_state[MSSQL$DATEV_SV_SE01]
    but i cant add it. there is an error like this:
    Code:
    [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
    Member
    • Dec 2004
    • 90

    #2
    Did you try to add a backslash before the dollar sign? like MSSQL\$DATEV_SV_SE01 not sure if it works.

    Comment

    • kyi
      Member
      • Jun 2005
      • 64

      #3
      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.

      Comment

      Working...