Cannot use macro in trigger function parameter of the form #{$MACRO}

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: 1.8.2
    • Component/s: None
    • None

      Several trigger functions accept an argument in two forms:
      number : number of seconds
      #num : number of items
      Macros can be used with first type of parameter but not with teh second one:
      {test:icmpping.max({$NITEMS})}=1 => OK
      {test:icmpping.max(#{$NITEMS})}=1 => Error message : {$NITEMS} is not a float or counter or macro for function (max)

            Assignee:
            Unassigned
            Reporter:
            Alixen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: