Rules / Conditions

Available for the roles: 'Administrator' + 'Editor'
 
Go to Build > Actions > Manage Rules
 
You can create Rule for bank holidays or opening hours
e.g for the bank holidays
{{system.month}} with the option 'Is equal to' and the month/number
and
{{system.day}} with the option 'Is equal to' and the day/number
 
 
e.g for opening hours - you can create Rule: "Friday after 17"
{{system.day_of_week}} with the option 'Is equal to' and the day/number
and
{{system.hour}} with the option 'Is greater than' and the hour/number
 
If you want to have opening hours set to e.g 16:30 you need to create 2 separate rules
 
Condition 1
Name - Friday after 17
{{system.day_of_week}} is equal to 5
and
{{system.hour}} is greater than 17
 
Condition 2
Name - Friday between 16:30 - 17:00
{{system.day_of_week}} is equal to 5
and
{{system.hour}} is equal to 16
and
{{system.minute}} is greater than 30
 
 
NOTE: you need to add both conditions in your dialog
 

USING DATA SETS:

1. Create a CSV file with the dates (check the date format)

e.g

entity;value
date;2024-4-14, 2024-12-25, 2024-12-26

 

2. Create a RULE

value - that's the entity name from CSV

select option: Contains

right operand - enter the string with single quotes: '{{system.year}}-{{system.month}}-{{system.day}}'

 

 

3. Create dialog and add the RULE

 

4. Set the flow