Conditional AND in Apex

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

radfly

Active Member
View Badges
Joined
Apr 29, 2022
Messages
222
Reaction score
158
Location
Charleston
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
 
Whoops, correction...
 

Attachments

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

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top