You can define an operating hours set, or edit an existing operating hours set, for your account by clicking on the Operating Hours button displayed in the Settings window.
The operating hours sets defined here are used to populate the dropdown list used by the Date/Time Operating Hours Condition. Initially there are no operating hours defined for your account.
Create on Operating Hours Set
To create a new operating hours set, follow these steps:
Click on the Create New Operating Hours button. This displays the Create New Operating Hours screen.
Enter a name for the operating hours set in the Name field.
Select the time zone you wish to use from the dropdown list.
Define the open periods for Monday by clicking on the Add Open Period button and selecting a start time and end time for the open period from the dropdown lists. You can define up to 10 open periods for each day and these open periods cannot overlap.
Note: If you wish your open period to end at midnight, you must select 24 from the hour dropdown. Doing this sets the minute dropdown to 00 and disables the dropdown.
If you wish to use the same open periods for each day, click on the Apply to all days button. Alternatively, you can manually set the open periods for each day by following the process described in step 4.
You can specify any particular days you wish to exclude from the operating hours set by clicking on the Add Exclusion Date button and selecting the date from the month and day dropdown lists. You can specify up to 100 days to exclude from the operating hours set.
Once you have entered all the information, click on the Save button to save the operating hours set and return to the Operating Hours screen.
Once you return to the Operating Hours screen you should see the operating hours set you created in the list with an icon beside it indicating that it needs to be published.
You can click on the Cancel button at any point in this process to return to the Operating Hours screen without creating an operating hours set.
Edit an Operating Hours Set
You can edit an existing operating hours set to change the name, time zone, open and closed periods, and excluded days of the set.
To edit an existing operating hours set, follow these steps:
Click on the name of the operating hours set you wish to edit from the list of operating hours sets displayed on the Operating Hours screen.
Edit the operating hours set definition as required.
Click on the Save button to save the changes to the list and remain on the Definition screen for the operating hours set, or click on the Publish button to save the changes, publish the modified operating hours set and return to the Operating Hours screen.
You may also click on the Close button to return to the Operating Hours screen. A confirmation prompt is displayed if there are any unsaved changes when you click the button.
Publish an Operating Hours Set
When you create or edit an operating hours set, you must publish it to make the set and any changes made available to the Operating Hours rule condition. The operating hours list on the Operating Hours screen identifies any sets that need published by displaying the To be Published icon beside the set in the list.
If you publish an operating hours set that is currently used by a rule you must also re-publish that rule so that the changes to the operating hours set are taken into account by the rule.
To publish an operating hours set, follow these steps:
Click on the name of the operating hours set you wish to publish from the list of operating hours sets displayed on the Operating Hours screen.
Confirm the details displayed for the operating hours set, changing any details that are incorrect.
Click on the Publish button to publish the rule and return to the Operating Hours screen.
You may also click on the Close button to return to the Operating Hours screen without publishing the operating hours set.
Note: Publishing an operating hours set that is already used by a rule instructs Engagement Engine to perform an auto-publish for all rules and sites affected. This ends any A/B tests that are currently active.
Delete an Operating Hours Set
To delete an operating hours set, click on the action cog beside the set you wish to delete and select Delete from the actions listed.
You may only delete an operating hours set that is not currently associated with any rules. If the Delete option is disabled, this means that the set is associated with a rule. You must either remove the operating Hours condition from the relevant rule(s), or associate an alternative operating hours set with the condition instead.