The Call Subflow Step

Continue to build the broadcast.aef script by dragging a Call Subflow step from the JAVA palette to the Design pane.

Then configure the Call Subflow step to call a subflow that populates the numbersToCall variable. (See The Set numbersToCall Step).

Figure shows the configured General tab of the Call Subflow customizer window.

Call Subflow Customizer Window—Configured General Tab

Configure the General tab of the Call Subflow customizer window to call the getNumbersToCall.aef script, which contains the scripting necessary to access the directory of numbers and populate the numbersToCall variable in the primary script. Select No for Disable Interruptions.

Figure shows the configured Parameter Mapping tab of the Call Subflow customizer window.

Call Subflow Customizer Window—Configured Input Mappings Tab

Use the Input Mapping tab to map variables between the getNumbersToCall.aef script and the broadcast.aef script.

Configure the input Mapping tab to specify that the dest variable in the broadcast.aef script maps to the numToCallVector variable in the getNumbersToCall.aef script.

There is no need to configure the Output Mappings tab for this sample script.