Flow Explain
WinIVR Flow consist of Var, Begin and End three section.
Var
- Is used to define data that may be operated by other statements.
- Only can be inserted statements of data define type.
- Result is a software defined Variant.
- Is used to save statement executing information such as success, failed or timeout.
- Data Operate statements will change Result value only when this statement execute failed, and save failed information into Result value.
- None FlowControl statements will change Result value.
- Every Telephone statements will change Result value to indicate state of statement execute.
- In Operator and Case statement, you may use Get Result to get software defined result.
Begin
- This is main procedure of Flow, to answer incoming call, make outgoing call and interactive with another.
- Can be inserted statements of data operate, flow control or telephone type.
End
- This is addtional procedure to finish flow.
- If another hangup, flow auto jump here to continue. You can also use Finish statement to jump here.
- Can be inserted statements of date operate type, flow control type or telephone type.
In each call, WinIVR firstly initual Variant and Database of Var section, then execute Begin section, then execute End section, finally hangup call and close all opened DataBase. If you run it with WinIVR Admin, flow will auto restart from Begin section.