Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
I have also attached the JSON for the same.
Please help me find the issue from the given automation.
Thank you in advance.
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
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.
Please watch this video to understand how to build a write-back solution with only native Qlik components and automation.
Thanks
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.
Dear @salmankojar,
I am doing the same thing, but for some reason, the variable is not getting updated in the Dashboard.
Dear @AfeefaTk,
Thanks but I am not trying to build the writeback. Also the given video doesn't use any "Update Variable" Block.
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
Hi!
At least this simple variable update worked:
(Is the problem to retrieve it från the user?)