August 15, 2023

Configuring the post-job – Docs for ESB 6.x

Configuring the post-job

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.

  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.

    components-use_case-tprejob3.png

  2. Double-click the tFileCopy component to
    open its Basic settings view.

    components-use_case-tprejob4.png

  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.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x