Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
kuwaryogi27
Creator
Creator

Unable to delete files

Hello All,

I am trying to delete some json files after they are pushed into ActiveMQ in the below subjob but the files are not getting deleted.
Attached is the screenshot of the talend job please have a look.
Could you please guide me how to solve this.

Regards,
Yogesh.


Labels (2)
16 Replies
Anonymous
Not applicable

Hello,

Did you want to delete json files from your local machine after they are pushed into ActiveMQ or from MQ server?

Best regards

Sabrina

kuwaryogi27
Creator
Creator
Author

Hello @xdshi ,

I want to delete this files from local machine.

Anonymous
Not applicable

Hello,

Please make sure you tick on check box ("Delete File or Folder") in tFileDelete.

Best regards

Sabrina

 

kuwaryogi27
Creator
Creator
Author

Hello @xdshi ,
This configuration has been done then also it's not deleting the files

Anonymous
Not applicable

Hi Kuwaryogi27
Do you use an existing connection on tMomOutput component? If so, you should use tMomCommit to commit the change and close the connection before deleting the file. eg:
tfileList_1--onsubjobok--tMomCommit--onsubjobok-->tFileList_2--iterate--tFileDelete.

Please try and let me know if it works.

Regards
Shong
kuwaryogi27
Creator
Creator
Author

Hello @shong ,

After doing the suggested changes still we are unable to delete the files.
Attached is the screenshot after modification.


18_7_19_1.PNG
Anonymous
Not applicable

Hello,

Please let us know your tfilelist_2 and tfiledelete component setting screenshots.

0683p000009M6di.jpg

Best regards

Sabrina

kuwaryogi27
Creator
Creator
Author

Hello @xdshi ,
I have attached the screenshots please have a look.


tFileDelete_1.PNG
tFileList_2.PNG
kuwaryogi27
Creator
Creator
Author

Hello @xdshi ,
If I check the Fail on error box then the job say's the file is being used you cannot delete the file.