<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using variables in buttons to run an automation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-variables-in-buttons-to-run-an-automation/m-p/2531244#M107948</link>
    <description>&lt;P&gt;I have a multi-tenant environment in which I want buttons in my apps to launch automations. Every tenant has different id's for the automations, so when I import an app on another tenant, the id's get broken and I need to manually update all buttons in the apps.&lt;/P&gt;&lt;P&gt;In the script I have added an api-call the fetch the automation id's for the tenant. I have saved those in variables, so they contain the automation id's. Then I added these variables to the actions inside the button configuration.&amp;nbsp;Unfortunately, by pressing the button, the message appears that I am not authorised. Looking into the defails of the button through developer options, I notice that the execution token is not filled. Only when I manually select an automation from the dropdown list, the execution token is filled.&lt;/P&gt;&lt;P&gt;Is there a way to solve this?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Sep 2025 11:09:31 GMT</pubDate>
    <dc:creator>coengiesberts_anva</dc:creator>
    <dc:date>2025-09-18T11:09:31Z</dc:date>
    <item>
      <title>Using variables in buttons to run an automation</title>
      <link>https://community.qlik.com/t5/App-Development/Using-variables-in-buttons-to-run-an-automation/m-p/2531244#M107948</link>
      <description>&lt;P&gt;I have a multi-tenant environment in which I want buttons in my apps to launch automations. Every tenant has different id's for the automations, so when I import an app on another tenant, the id's get broken and I need to manually update all buttons in the apps.&lt;/P&gt;&lt;P&gt;In the script I have added an api-call the fetch the automation id's for the tenant. I have saved those in variables, so they contain the automation id's. Then I added these variables to the actions inside the button configuration.&amp;nbsp;Unfortunately, by pressing the button, the message appears that I am not authorised. Looking into the defails of the button through developer options, I notice that the execution token is not filled. Only when I manually select an automation from the dropdown list, the execution token is filled.&lt;/P&gt;&lt;P&gt;Is there a way to solve this?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 11:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-variables-in-buttons-to-run-an-automation/m-p/2531244#M107948</guid>
      <dc:creator>coengiesberts_anva</dc:creator>
      <dc:date>2025-09-18T11:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in buttons to run an automation</title>
      <link>https://community.qlik.com/t5/App-Development/Using-variables-in-buttons-to-run-an-automation/m-p/2531247#M107949</link>
      <description>&lt;P&gt;I would invoke the Automations Master:&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Any inputs?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 11:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-variables-in-buttons-to-run-an-automation/m-p/2531247#M107949</guid>
      <dc:creator>hugo_andrade</dc:creator>
      <dc:date>2025-09-18T11:42:54Z</dc:date>
    </item>
  </channel>
</rss>

