You can pass the Business Hours name or ID dynamically while creating a formula in the IF node. Whenever a call encounters the IF node after you create a formula, the router evaluates the formula based on the Business Hours name or ID that is given in
the Peripheral or ECC variable. This feature is implemented to check the real-time statistics of the Business Hours.
Note
|
Dynamic formula for Business Hours is only supported in the IF node.
|
Note
|
Only Peripheral and User defined ECC Variables are allowed within the curly brackets of a Dynamic Expression.
|
You cannot create multiple formulas using dynamic expressions.
For example:
BusinessHours.{Call.PeripheralVariable1}.BusinessHourStatus==1 && BusinessHours.{Call.PeripheralVariable1}.BusinessHourStatus==1
BusinessHours.{Call.PeripheralVariable1}.BusinessHourStatus==1 || BusinessHours.test BusinessHours.BusinessHourStatus==0
. You can pass the Business Hours name or ID dynamically while creating a formula in the IF node. Whenever a call encounters the IF node after you create a formula, the router evaluates the formula based on the Business Hours name/ID that is given in the
Peripheral/ECC variable.
For example:
BusinessHours.{Call.PeripheralVariable1}.BusinessHourStatus==1.
In this formula, {Call.PeripheralVariable1}
is the variable that dynamically picks the Business Hours based on the Business Hours Name or ID. When a call comes, the
router evaluates the formula and determines the real-time status of that Business Hours that is given in the Peripheral or
ECC variable. After the formula is evaluated, and if BusinessHours's status is 1, the call takes the success path of IF node.
Note
|
Dynamic expression is first evaluated by using name and then by ID of the BusinessHours. If no BusinessHours is found in system
based on name specified in Set variable, then BusinessHours is searched based on ID.
Ensure BusinessHours' names are unique and doesn't match with other BusinessHours' ID configured in system. In case ID is
used for dynamic expression and it matched with any other BusinessHours' name, then wrong BusinessHours is picked up during
expression evaluation.
|