Then will show a brief description of the functionalities and properties of the applications that can use in the workflow.


Basic Applications


x4zRs5pi.png StartActivity

This activity is necessary to give the sart the to flow in the same context will indicate that the flow and extension is performed.

This extension are detailed previously in Workflows Designer v5

Fields:


Answer

This application answerd the call.

Fields:


setLanguage

The language that it producing the call is stored.

Field:


 set

It can create variables and assign values one that already exist, this variables can be used in all the flow and can store in the database.

Fields:


 GUID

This application generate a unique identifier of the call and assign the value automatically to the variable ${guid}.


 SetCDRGuid

To let this value unique (the GUID) in the CDR.


 SetCDRType

To assign the CDR type,it can be record (to record the conversation), voicemail(if email mailbox ) or fax (if it incoming fax).


SetRecordName

Assign the identifier to the recording, usually use ${guid}.


 Read

This application emits an audio and wait an answer which can store a variable, usually is used to generate menus.

Fields:


GotoIf


This application is used to evaluate conditions, it can be used variables declarated in the SET, returns to the READ and Asterisk variables. Its normal use is after a READ to evaluate the entered option. This application has two outputs:

Fields:


 SetCDRCampaign

To assign the name of the campaign to CDR.

Fields:

 Queue

Derives the call to a queue.

Fields:


Specific Functions

FuncODBC (Hash)

Asterisk function that allows to make queries to the data base.

Applied to a workflow, the function will take as its parameter the name of the variable that contains the query to the data base that the user writes.
The Hash function will take all the data from the rows in the data base and makes them more "accessible" for the user to make queries.
This last query will return a  row, for example:

HASH(query) = (name, CallerID, Agent, Campaign)  →  HASH(Result) = (Sophie, 0800, Agent1, Campaign1)

If the user wants to get an specific data from the row, using the example above, the user must use the following:

HASH(Result, name)  →  "Sophie"

HASH(Result, CallerID)  →  0800

HASH(Result, Agent)  →  Agent1

HASH(Result, Campaign)  →  Campaign1

Example:

In this example, we can see that the variable that takes as parameter the function Hash, is called Result. To the right, the user wrote the query that the variable Result represents.

The following will return a row containing the consulted data from the columns (did, name, dialstring).

While

The While function consists of a condition and a block of code called an expression. This function checks if the condition is true, if it is, executes the expression. The lasts steps repeat themselves till the condition is false.

Applied to a workflow, for example:

We have the While action, that contains the condition, then it continues with the block of code that gets to be executed if the condition is true, if it is, the block of code executed as long as the condition is true. When this one is false, the workflow will get to the EndWhile action and continue the flow.