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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Adfc_NZ
Contributor III
Contributor III

Export an automation's Output to a Txt or Csv

Hi,

Following up on my topic
https://community.qlik.com/t5/Qlik-Automate/Automation-to-return-an-app-detailed-reload-logs/td-p/25...

I now have the automation to work as expected, its output is the selected app's last reload log.

Now, I need the community help as I've never tried this before: how can I now export that result into a file (Txt or Csv or even QVD?) so that I can then load it into an app?

Basically I want to replicate what Qlik natively does when we look at an app's reload history/log and click the "Download Detailed Log" button which generates a Txt file.

Any help you can send my way will be much appreciated.

Thank you.

Labels (2)
1 Solution

Accepted Solutions
Daniele_Purrone
Support
Support

Hi @Adfc_NZ ,

something like this works:

Daniele_Purrone_0-1777280102866.png


Of course, you can choose a different destination than Dropbox, but the "Create File", "Write Line To File" and "Save and Close File" are the blocks you'll need.


Daniele_Purrone_2-1777280221830.png

 

 

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

4 Replies
vighnesh_gawad
Partner - Creator
Partner - Creator

Take look at Qlik cloud apis, you can export that info from running those endpoints.

https://qlik.dev/apis/rest/automations/#post-api-v1-automations-id-runs-runId-actions-export 

Regards, Vighnesh Gawad
Connect with me on LinkedIn | GitHub
Daniele_Purrone
Support
Support

Hi @Adfc_NZ ,

something like this works:

Daniele_Purrone_0-1777280102866.png


Of course, you can choose a different destination than Dropbox, but the "Create File", "Write Line To File" and "Save and Close File" are the blocks you'll need.


Daniele_Purrone_2-1777280221830.png

 

 

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.
Daniele_Purrone
Support
Support

As Data for "Write Line To File" you can pick the Output from "Raw API Request"

Daniele_Purrone_3-1777280301129.png

 

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.
grt08
Contributor
Contributor

Hi Dan,

Is there a way to use Create Data File In Space (Qlik Cloud Service block) to directly save the Reload Log to a space\Datafiles?

In my case we don't want to use third party storage to do the same process but wanted to have similar output to save a Reload Log file in text or csv preserving the format of the Reload Log?