How to create and configure three Loop tasks (Enterprise Manager)
To create and configure three Loop tasks
- On the Data Transformation Services (DTS) design sheet, right-click Spreadsheet Wait, point to Workflow, and then click Workflow Properties.
- In the Workflow Properties dialog box, click the Options tab and note the name of the step in the Name box.
It is likely to be DTSStep_DTSMessageQueueTask_1. You will need to click this name in another box later in this procedure.
- From the Task toolbar, drag a Dynamic Properties task onto the design sheet.
- In the Description box, type Loop, and then click Add.
- In the tree display in the left pane, expand Steps, and then expand DTSStep_DTSMessageQueueTask_1 (the name you noted in Step 2).
- In the right pane, under Property name, double-click Execution Status.
- In the Add/Edit Assignment dialog box, in the Source list, click Constant, and then in the Constant box, type 1.
1 is the value assigned to DTSStepExecStat_Waiting.
- On the design sheet, do the following:
- Right-click Loop, and then click Copy.
- Right-click the design sheet, and then click Paste. Repeat this paste once.
- Position the three Loop tasks in a column on the right side of the design sheet.
- Right-click each of these pasted Loop tasks, point to Workflow, and then click Workflow Properties.
- Click the Precedence tab, and then add a new entry with Source Step set to the proper step: Failed XLS Load, Failed Expense Load, or Load Filtered Data. Set Precedence to Success.