AGI Script
The AGI Script type runs an AGI script and compares the AGIRESULT variable with TRUE.
Open Configuration > Conditions, select New Condition, enter a name, choose AGI Script in the Type field, complete the type-specific fields, and select Save.

Fields
| Field or option | Description |
|---|---|
| Name | Display name used in condition lists and selectors. |
| Type | Select AGI Script. |
| AGI Script | Script to execute. |
| Parameter 1-5 | Optional script parameters, depending on the selected script definition. |
| AGIRESULT | The script result variable must evaluate to TRUE for the condition to match. |
Example
| Field | Example value |
|---|---|
| Name | Docs Condition - AGI Script |
| AGI Script | Docs Demo AGI 1 |
Destinations
For tenant conditions, select the destinations that should run when the condition matches and when it does not match. Global conditions are referenced by tenant-level Use a Global Condition records.
Editing and deleting
To edit this condition, open Docs Condition - AGI Script from the Conditions list, adjust the fields, and select Save. Before deleting it, check IVRs, schedules, routes, feature codes, and other call-flow objects that may reference it.
No comments to display
No comments to display