Ad Widget

Collapse

How to count how many times a item result

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joanaribeiro_erre
    Junior Member
    • Jul 2020
    • 25

    #1

    How to count how many times a item result

    Hi there,

    i have an item that returns text, my gold is to define a trigger that triggers a problem if there are, for example, 5 different values in the last 30 minutes.
    Can i do that?

    Thanks,

  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    I think it's impossible to do it by a trigger only. But you may create a dependent item with "Discard unchanged" in preprocessing and the trigger for this item, for example,
    item.count(30m)>=5 and item.now>0

    Comment

    Working...