Configuring the post-job - 7.0

Orchestration (Integration)

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Orchestration components (Integration)
Data Quality and Preparation > Third-party systems > Orchestration components (Integration)
Design and Development > Third-party systems > Orchestration components (Integration)
EnrichPlatform
Talend Studio

About this task

In the post-job, the tPostjob component does not have any parameter or property to configure; it just triggers the tFileDelete component after the execution of the main data Job to delete the temporary file used to store the fetched filenames, which then triggers the tFileCopy component to name the backup file back to its original name.

Procedure

  1. In the Basic settings view of the tFileDelete component, fill the File Name field with the path and filename of the temporary file to be deleted, D:/temp/tempdata.csv in this example, and leave the other parameters as they are.
  2. Double-click the tFileCopy component to open its Basic settings view.
  3. Fill the File Name field with the path and filename of the backup file, D:/temp/backup-tempdata.csv in this example.
  4. In the Destination directory field, specify or browse to destination directory, D:/temp/ in this example.
  5. Select the Rename check box, and specify the orignal name of the temporary file in the Destination filename field, tempdata.csv.
  6. Select the Remove source file check box to remove the backup file after the renaming action. Leave the other parameters as they are.