Hello just want some advise on my script below.
I just want to raise some error on 2 if conditions, the 2nd condition is working (Datediff).
But the frequency has a problem. I think it's due to the Frequency property Date type is a value list.
Condition
If Frequency property is "Every 1 hour" it should raise an error
Thank you.