Workflow Command: Set Condition
- OSS/BSS Answers
- App Model - Organization Management
- App Model - Communication Apps Answers
- License Model - Organization Management
-
License Model - CPaaS Solution Answers
Phone System - Admin Guide Phone System - End-user Guide Mobile App Desktop App Web Phone Auto Attendant - Admin Guide Developer Hub - Admin Guide Microsoft Teams Operator Connect - Admin Guide Microsoft Teams Direct Routing - Admin Guide Contact Center - Supervisor Guide Contact Center - Agent Guide Omni-Channel SIP Trunk CPaaS - SIP Trunk CPaaS Fax Contact Dashboard Campaign File Explorer
- Integrations Answers
- Updated Regulations
- Ideas Portal
Table of Contents
If calls satisfy the setup conditions in this section, they will be forwarded to the specified destination.
You can create more than one condition for a branch. Finish one and create another.
To set up, please follow the steps below:
- Choose Set Condition option
- Save
- Click Next step(s) to configure:
- Process order
- Condition Types
- Block Types
- Save
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/15042/3177403/1685271788901-slika2.gif)
Process order
Process order
Give your condition a process order.
- The lower value will be processed first.
-
For example:
- If you have 3 conditions A, B, C with the value from 1 to 3
- The order to process is A > B > C.
![](https://d2x3xhvgiqkx42.cloudfront.net/c94ab348-5fb1-4c1d-89b1-fa79e3e916d0/81ec6e6f-2b1b-45dc-9193-b23c4a10d966/2021/12/13/e173e1cb-b76e-4a2c-8496-f1b4293c71cb/a9f3fdf4-d819-4bff-9f36-ab4800c86566.png)
Condition Types
Condition types - Match Pattern
Callers whose numbers match a predefined pattern will satisfy this condition.
**IMPORTANT NOTE: Country code will also be counted. For example, the length of Singapore number is 10 (+65 9876 5432)
![](https://d2x3xhvgiqkx42.cloudfront.net/c94ab348-5fb1-4c1d-89b1-fa79e3e916d0/81ec6e6f-2b1b-45dc-9193-b23c4a10d966/2021/08/19/790843f8-9450-4a5a-a483-fe846a782407/b9b63f89-6b56-4f3f-b6a4-716a8b86e736.png)
Condition types - In Date Range
Calls within this date range will satisfy this condition.
![](https://d2x3xhvgiqkx42.cloudfront.net/c94ab348-5fb1-4c1d-89b1-fa79e3e916d0/81ec6e6f-2b1b-45dc-9193-b23c4a10d966/2021/08/10/08af878d-631f-4457-bfd7-8ae65a690460/aeac98de-e8ec-423f-9b59-4dd3666501ec.png)
Condition type - In Time Range
Calls within this time range will satisfy this condition.
![](https://d2x3xhvgiqkx42.cloudfront.net/c94ab348-5fb1-4c1d-89b1-fa79e3e916d0/81ec6e6f-2b1b-45dc-9193-b23c4a10d966/2021/08/10/647be03e-c755-4ed9-8ae1-15cd571c54aa/915f347f-c7a4-465b-a6b9-1e767c4b046d.png)
Condition types - Upload Numbers
Calls from the uploaded number list will satisfy this condition.
![](https://d2x3xhvgiqkx42.cloudfront.net/c94ab348-5fb1-4c1d-89b1-fa79e3e916d0/81ec6e6f-2b1b-45dc-9193-b23c4a10d966/2021/08/10/a1574df9-a8d3-4f43-a57b-8907388a1f6a/e1fd4e1e-a518-4133-8143-7ac7cb54d3b3.png)
Condition types - Validate Expression
Data that matches the Expression Template will satisfy this condition.
- Equal: {{$.variablename}}==='data'
- More than: {{$.variablename}}
>
'data' - Less than: {{$.variablename}}
<
'data' - More than and equal to: {{$.variablename}}
>=
'data' - Less than and equal to: {{$.variablename}}
<=
'data'
*Variablename must be predefined in Advanced Settings at the previous steps.
NOTE: To avoid conflicts between conditions, please contact us for more instruction if you want to use <=, >= for each specific case.
Example:
Auto Attendant is integrated into Webhook. When a call comes in > Auto Attendant posts data to Webhook endpoint > Webhook responses to Auto Attendant > If it matches the expression, go to the next block settings.
Condition types - Otherwise
Go to this block if a call does not match with any condition above.
![](https://d2x3xhvgiqkx42.cloudfront.net/c94ab348-5fb1-4c1d-89b1-fa79e3e916d0/81ec6e6f-2b1b-45dc-9193-b23c4a10d966/2021/08/10/fe8227eb-8955-4241-92f9-e2c1513fed37/d472b7b4-e46a-493a-9435-b4e9a6677f92.png)
Block Types
Block Types:
- Choose one among the commands listed to set up the extension after the callers press the key.
- Gather input: add another layer of extensions
- Transfer call
- Record missed calls and notify
- Play message only
- Forward to (another block within the workflow)
- Set condition
- Confirm
- Webhook