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.
- In the central design area, click on the MySubscriptSubscript tab:
- Add the Script Fields UserPrompt and UserResult, by repeating the steps in Adding Script Fields, above.
- Select Script from the toolbar at the top thenSet Subscript Inputs and Outputs.
- 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 .
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