User macro documentation doesn't match reality

XMLWordPrintable

      On the doc page for User macros supported by location, it says “Yes” for “Multiple macros/mix with text” for any Preprocessing parameters.

      In a template, I created a user macro:

      {ITEM.DEDUP.INTERVAL} = 30

      Within an Item, I tried to put the following value in “Discard unchanged with heartbeat” : {{{ITEM.DEDUP.INTERVAL}

      m}}
      This meets my understanding of “Macro mixed with text”.
      However ,instead I got a form error: “Seconds: A time unit is expected.”

      Use case:
      I want a trigger expression function to use the dedup interval as one of its parameters. I’m trying to avoid hardcoding it, because then it’s prone to being forgotten if the dedup interval is later updated.

      Thanks,
      Matt

            Assignee:
            Unassigned
            Reporter:
            Maciej Czernielewski
            Team Doc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: