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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Ibrahim_Izz
Contributor II
Contributor II

Users can't trigger an automation execution via a button in a published app

Hello all

I have a button in my Qlik Cloud app that executes an automation in triggered mode. When I publish the app to a managed space so that end users can trigger it themselves, they click the button, but the automation won't be executed.

It seems like only the owner of the automation is allowed to execute it.

I did everything in this video: https://youtu.be/uwtpmjumejc?si=9kLwfiOoab4Ywhr0 in manual mode and trigger mode, also nothing.

How can I resolve this? Also is this a limitation of the Analyzer License?

Thanks

Important Update: The automation trigger works inside the tenant but not in the embedded app. I forgot to mention that I'm embedding the app inside and iframe in my web app, and I think the limitation comes from this.

Labels (3)
10 Replies
Daniele_Purrone
Support
Support

Hi @Ibrahim_Izz ,

clicking the button with the browser's developer tools on should give you some hints.
Check for the response to "execute" and also the following ones, and see you if you are getting anything else than "200"

Daniele_Purrone_0-1768296179368.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.
paulcalvet
Specialist
Specialist

Hello,

Did you check this in the button properties ?

The run mode of the automation should be triggered.

paulcalvet_0-1768297228077.png

Regards,

Ibrahim_Izz
Contributor II
Contributor II
Author

Thanks @Daniele_Purrone I forgot to mention that I'm embedding the app inside an iframe in my web app, and I think the limitation comes from this

Ibrahim_Izz
Contributor II
Contributor II
Author

I did, I forgot to mention that I'm embedding the app inside and iframe in my web app, and I think the limitation comes from this.

theoat
Partner - Specialist
Partner - Specialist

Hello @Ibrahim_Izz 

Have you tried, as @paulcalvet suggested, setting thebutton options to "Run mode : Triggered"?

Also, have you tried to setting Run asynchronously on Yes ?

theoat_0-1768348030033.png

Enjoy your Qlik.

Kind regards,
Théo ATRAGIE.



Daniele_Purrone
Support
Support

@Ibrahim_Izz does the issue happen when accessing the app normally on Qlik Cloud, without going through your iFrame?

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

No, it only happens in embedded apps inside the iframe, not inside the tenant. The tenant side works well with Run mode = Triggered & Asynchronous = Yes without issues.

theoat
Partner - Specialist
Partner - Specialist

Hello,

Did the integration into a web application require the creation of an OAuth or API key?

If so, you need to verify that the user who created the OAuth or API key has the rights to execute the automation.

Enjoy your Qlik.

Kind regards,
Théo ATRAGIE.

theoat
Partner - Specialist
Partner - Specialist

Additionally, if your embedding is done using CSP (Content Security Policy), you might want to check and potentially add additional CSP directives in the Management Console:

- frame-ancestors: to allow your web application domain to embed the iframe
- connect-src: to allow API calls from the iframe to trigger the automation

Go to Management Console → Content Security Policy and verify these directives are properly configured for your web application's origin.