Reset Filters

SmartConnect 2018

Delete Files Task

The Delete File task allows files to be deleted during or after map processing. It is useful for removing files once they have been processed successfully.

 

Note: delete file tasks are not available for real time data source maps.

 

To create a delete file task:

1.Open Map >> Setup, or select the Maps Quick Link and double click on the map to be edited.
2.Select the tasks tab on the map setup window.
3.Select the task stage in the task tree to determine that stage at which this task will run.
4.Right click on the tasks stage, select new task, the select the delete file task.

SmartConnect_Tasks_Add

 

5.Enter the name of the task. Task names must be unique within each map.
6.Check the enable checkbox to enable the task.
7.Enter the required action if the copy file task fails. Selecting Quit will halt map processing if the copy fails. Go to next step will record the failure but allow processing to continue. Cancel processing will stop map processing but will not return an error to the user.
8.Enter the required action if the copy file task succeeds. Selecting Quit will halt map processing if the copy fails. Go to next step will continue to the next step in map processing. Cancel processing will stop map processing but will not return an error to the user.
9.Use the lookup to select the file that is to be deleted, or type in the file path and name. Global variables may be used in the delete file path definition. If used the variable will be replaced by the variable value at runtime.
10.Select Save to save the task.

 

Delete Files Task

 

To edit a delete task:

1.Select the tasks tab on the map setup window.
2.Either double click on the task to be edited, or select the task, right click then select edit.

 

To delete a delete task:

1.Select the tasks tab on the map setup window.
2.Either select the task, right click then select delete, or edit the task and select delete on the window toolbar.