Exercise 8B - Expression Events: Multiple Time Windows
Create a Schedule named Expression Events.
Create a Job with Expression Events that will update a Property differently depending on what the current Time.
- If between
22:00
and06:00
, Update the Global Property to“Shift 1”
. - If between
06:00
and14:00
, Update the Global Property to“Shift 2”
. - If between
14:00
and22:00
, Update the Global Property to“Shift 3”
.
- If between
Build the Schedule and verify that the Global Property was updated to the proper Shift number.