Calendar
- Olesya Tantsyura
- Olga Chorna
1. Description
Checks time and makes routing decisions. It allows you to select a calendar and pass the value to a variable.
This component is present in flow types like:
- Voice;
- Chat;
- Forms;
- Service.
The block (Fig.1(1)) is used in space to build the Flow. The settings panel for this component opens (Fig.1(2)) when you click on the block.
Fig.1. Calendar component
1.1. Calendar block
The block consists of the following elements:
- The name of the component;
- in branch - receiving (connecting with the previous block) branch;
- out branch - outgoing (connecting with the following block) branch.
1.2. Calendar settings panel
It consists of the following elements:
- Calendar;
- Set to variable;
- Extended;
- Break;
- Add limit.
1.2.1. Calendar
When you click on the Calendar field, a drop-down list opens from which the required Calendar is selected. How to create a Calendar can be found here.
You can select from the drop-down list or set it manually.
1.2.2. Set to variable
The name of the variable is specified here. The variable gets the true/false
value, depending on the working hours when the call or chat was received. Working hours - true
, non-working hours - false
.
1.2.3. Extended
The Extended switch is used if it is necessary to use a holiday in the flow schema.
How to set up a holiday can be found here.
When this switch is active, the value holiday
will also be transferred to the variable if the time the call or chat was received falls on a holiday weekend.
1.2.4. Break
Responsible for the completion of the flow execution.
- initiates the end of the flow execution after the given component.
- the switch is in the off position.
1.2.5. Add limit
It is intended to determine the maximum number of passes through this component.
The failover branch appears in the edited component when the limit is set .
The failover branch will be used if more passes are passed through the component than entered in the Max field.
Clicking on the Add Limit button adds a Max field and a Delete limit button.
The number of possible passes is indicated in the Max field.
Clicking on the Delete limit button removes the limit and returns the Add limit button.
Fig. 2. Setting a limit