Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

keep old data when reload fail

Hello,

is it possible to keep opld data when reload fail ?

thks

1 Solution

Accepted Solutions
cwolf
Creator III
Creator III

With EDX then all what you have to do in the script of your first task:

for each File in filelist ('\\Path\To\TestFile')

  //File exist!

  //run the next task

  //No spaces anywhere in the names!!

  EXECUTE \\Path\To\qmsedx.exe -task=YourEdxTaskName -qms=YourServerName -password=YourEdxPassword ;

next File

View solution in original post

21 Replies
Anonymous
Not applicable
Author

If reload fails, the old data is kept.

Not applicable
Author

I'd also set 'Save Before Reload' in 'Settings > User Pref' so you don't loose any work!

buzzy996
Master II
Master II

even ur job fails,still ur old data with ur app.

Not applicable
Author

I asked my question wrong in fact I want to test the presence of a file if I see I reload table else I want to get out of the script without lose old data.

Not applicable
Author

I asked my question wrong in fact I want to test the presence of a file if I see I reload table else I want to get out of the script without lose old data.




Not applicable
Author

Michael, I asked my question wrong in fact I want to test the presence of a file if I see I reload table else I want to get out of the script without lose old data.

thks

Not applicable
Author

If the error is not critical (like a table not found), then the script asks you if you want to "continue" or just cancel. The script will continue executing but obviously you can lose some data.


If the error is critical, then it will fail automatically and you will recover the old data.

Not applicable
Author

the best way to test the presence of a file is to comment the rest of the script, and after this file add something wrong that will fail the script. Then, when the script is executing just look at the script windows in order to see if your file is loaded or not. Because of the failure of the script, you will be sure that you don't lose data.

Not applicable
Author

I launch the script with the server not in desktop, so i just want to get out of the script when the file is missing