Conditional AND in Apex

  • Thread starter Thread starter radfly
  • Start date Start date
  • Tagged users Tagged users None

radfly

Active Member
View Badges
Joined
Apr 29, 2022
Messages
239
Reaction score
171
Location
Charleston
What state or country do you live in
South Carolina
Rating - 0%
0   0   0
I do not want my IMSump to alarm at night so I entered this code. Will it work?

CF6BADA9-394D-4E52-A873-09B717E84C46.png
 
Conditional AND is most definitely possible with the apex.

You do so like this

Set OFF
(Low priority alarms)
If Time 21:00 to 05:30 Then OFF
(High priority alarms you want alerted for even at night)

Creates the logic of (Low priority AND NOT night) OR high priority.


The kicker here is that in order to do thus, all of your alarms that you want suppressed during night have to be done in code form in the email and set to "never" in the input setup
 
Cool, makes sense... much appreciated!

3364FF5A-C402-4F10-8591-0D8C365E1166.png
 
Whoops, correction...
 

Attachments

  • 595BF6EC-30E9-41BA-89C5-924218CCCC6B.png
    595BF6EC-30E9-41BA-89C5-924218CCCC6B.png
    75.9 KB · Views: 36

TOP 10 Trending Threads

WHAT FIRST SPARKED YOUR INTEREST IN REEFING?

  • I saw a reef tank that hooked me

    Votes: 10 29.4%
  • I was already keeping freshwater aquariums

    Votes: 11 32.4%
  • A particular fish got me interested

    Votes: 7 20.6%
  • Corals and inverts were the draw

    Votes: 5 14.7%
  • A friend or family member introduced me

    Votes: 5 14.7%
  • The science and ecosystem challenge appealed to me

    Votes: 5 14.7%
  • I stumbled into it… and here we are

    Votes: 2 5.9%
  • Other (Post in the comments)

    Votes: 6 17.6%
Back
Top
Home
Post thread…
Market
What's new