Follow-On Topics

Related Topics

# Adding a Run VBScript Task Step

To add a new Run VBScript step to an existing task, do the following:

1. Open the relevant task (for creating new tasks, see Creating a New Task).
2. Either:

|  | Click and drag the Run VBScript icon from the Task Browser to the task Design area.

|  | Click on the Environment tab in the Task Browser. Right-click on Steps and select New > Execute > Run VBScript.

|  | From the task's Design tab, right-click on empty space and select New > Execute > Run VBScript.

3. Enter a Name and Description for the step.
4. If required, choose the data or document to include in the VBScript:
   1. If including a previous step's recordset, select Use a recordset then choose the recordset from the Input Recordset drop-down.
   2. If including a document, select Read documents from a source then choose the document from the Document Source drop-down.
5. Select the Main tab.
6. Enter the VBScript as required. Dynamic data to be populated at task run time can be dragged and dropped from the Task Browser into the script.
7. Select Memory to define a Repository to memorise some or all of the recordset used by this step in the Memory Definitions dialog.
8. Go to the Options tab and select the required error options.
9. Click OK to save the new step and close the dialog box. An icon for the step is displayed on the Task Plan.

Copyright © 2018 Quadrant Software B.V. All rights reserved.