Softdial Scripter™ Designer - Subscripts Tutorial

4) Editing MySubscriptSubscript

This subscript must retrieve data from the script fields created in the MySubscript script so we need to add Script Fields, and set the subscript Inputs and Outputs to allow this script to access the fields of the parent script.

  1. In the central design area, click on the MySubscriptSubscript tab:
    1. Add the Script Fields UserPrompt and UserResult, by repeating the steps in Adding Script Fields, above.
    2. Select Script from the toolbar at the top thenSet Subscript Inputs and Outputs.
    3. The UserPrompt field is an Input to this script, but the UserResult field is both an Input and an Output, so set the script field data flow accordingly:
      • UserPrompt - Input,
      • UserResult - InputOutput .

      Set Subscript Input/ Output

      Fig. 1 - Set Subscript Input/ Output

With the data flow to the script configured, we can now create the only screen step in this script: Show Result.

Next: 5) Creating a Screen

 

Copyright © 2004 - 2019  Sytel Limited