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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
xyz_1011
Partner - Creator II
Partner - Creator II

Deleting all variables in app

Good morning all,

i am trying to delete all variables in a given app. I created a basic automation with just 4 blocks:

  • Start
  • List variables (works fine)
  • Delete variable (does not work)
  • Stop

The block "Delete variable" fails with the reason: "Error when deleting variable with id xyz". Also when i try to set the variable name instead, the automation fails. Can anybody enlighten me, why ? And also, how it can be done ?

Thanks a lot in advance!

Labels (2)
1 Solution

Accepted Solutions
Shai_E
Support
Support

Hi @xyz_1011 

The variable you are not able to delete, was it created in the data load editor or generated there?
The help text for the Delete Variable mentions this if that is your case.

I did a test and had no issue deleting app variables, also i think you need to use Save App at the end after you made these changes in your automation run.

If the above is not the case what id are you giving the delete block as input?

Thanks

View solution in original post

1 Reply
Shai_E
Support
Support

Hi @xyz_1011 

The variable you are not able to delete, was it created in the data load editor or generated there?
The help text for the Delete Variable mentions this if that is your case.

I did a test and had no issue deleting app variables, also i think you need to use Save App at the end after you made these changes in your automation run.

If the above is not the case what id are you giving the delete block as input?

Thanks