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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Update Variable using Application Automation

Dear All,

I need your help to make this work.

What I am trying to do:

I want to update the variable using the Application Automation.

What I tried:

I have created below basic Automation to make it work, but it doesn't seem to be working.

kaushiknsolanki_0-1702301103694.png

 

I have also attached the JSON for the same.

Please help me find the issue from the given automation.

Thank you in advance.

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Labels (1)
8 Replies
Peachman97
Partner - Contributor III
Partner - Contributor III

There is a variable block you can use to create a variable you can then assigned some data to it and use that down the line in the UI & expressions tooltips that popup

Peachman97_0-1703003649195.png

 

salmankojar
Partner - Creator II
Partner - Creator II

First of all, you have to pass inputs from Qlik app to your automation using execute automation button functions in Qlik App. After that Click on Copy Input Block button in App and paste those input blocks in your automation.

After that use Update variable Block and set the definition as per your need. Then you need to Use save App block in Qlik Cloud Services connectors. By saving app your variable will be updated.

 

 

AfeefaTk
Support
Support

Hi @kaushiknsolanki 

Please watch this video to understand how to build a write-back solution with only native Qlik components and automation.

Thanks

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP
Author

Dear @Peachman97,

Thanks for your reply. 

What I am trying to do is update the variable back in the dashboard. So your solution may not work as this Variable block is used only within the Automation.

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP
Author

Dear @salmankojar,

I am doing the same thing, but for some reason, the variable is not getting updated in the Dashboard.

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP
Author

Dear @AfeefaTk,

Thanks but I am not trying to build the writeback. Also the given video doesn't use any "Update Variable" Block.

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
AfeefaTk
Support
Support

Hi @kaushiknsolanki 

Sorry for the confusion, I misunderstood your query.

Are you getting any errors?

Did you try using the 'Save App' block to reflect the changes made to the variable in the app?

If it still doesn't work, please use the Get Variable block right after the Update Variable block , check the results, and verify if the Get Variable block response shows the updated values for the variable.

Also, please share the exported automation run to further investigate the issue.

Follow this instructions to export the job run (Section :Export This Run Button in Automations Overview Tab)

Thanks

Afeefa TK

 

AndyPandyLinden
Partner - Contributor II
Partner - Contributor II

Hi!
At least this simple variable update worked:
(Is the problem to retrieve it från the user?)

 

AndyPandyLinden_0-1756282922570.png