Hi, I'm new so please be understanding.
I have created an item that runs from 06:30 - 09:30 every 30 minutes and a trigger that checks whether the value "None" exists using the last() function. The values returned by the SQL query are: "exists" or "None". But I have a problem because it doesn't work properly. Namely, at 07:30 the query returns "exist" because that is what the SQL query returned. At 08:00 the query returns "None" because the process has already ended. So at 08:00 I get a message in the dashboard that the process is not running. That's actually true, but not entirely. The process worked, but it is now over. How can I construct a trigger that will check all records from this hourly range and if "exist" occurs at least once, then the message should not appear. Asking for help because I have no idea how to do it.
I have created an item that runs from 06:30 - 09:30 every 30 minutes and a trigger that checks whether the value "None" exists using the last() function. The values returned by the SQL query are: "exists" or "None". But I have a problem because it doesn't work properly. Namely, at 07:30 the query returns "exist" because that is what the SQL query returned. At 08:00 the query returns "None" because the process has already ended. So at 08:00 I get a message in the dashboard that the process is not running. That's actually true, but not entirely. The process worked, but it is now over. How can I construct a trigger that will check all records from this hourly range and if "exist" occurs at least once, then the message should not appear. Asking for help because I have no idea how to do it.
Comment