<?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>article Qlik Application Automation : Alert app owners and TenantAdmins about orphaned data connections in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Application-Automation-Alert-app-owners-and-TenantAdmins/ta-p/1934032</link>
    <description>&lt;P&gt;&lt;SPAN&gt;This article contains additional information on the&amp;nbsp; "Alerts app owners about orphaned data connections" template. You can find this template in the template picker when creating new automation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note: This is only for Qlik Sense applications.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This template sends an email to each owner of a data connection that has been orphaned by its associated space being deleted, or emails each TenantAdmin data connection that has been orphaned by deletion of their respective owners.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose a user has connected to a data connection in the space "XYZ" and then the "XYZ" space was subsequently deleted. This template can be used to send an email to the owners of the data connection. Then the owners can decide whether to move these connections to new spaces so they can continue to be used or to delete them.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Steps to set up the values in the template:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Set the value for the variable&lt;STRONG&gt;&lt;SPAN&gt; EmailTenantAdmins&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;which sends an email to all the tenant admins regarding the list of data connections that are orphaned. The value can be YES/NO.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Automation structure&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Retrieves all the users and the data connections that the users are connected to in the tenant.&lt;/LI&gt;
&lt;LI&gt;Retrieves the space id.&lt;/LI&gt;
&lt;LI&gt;Loop over data connections and check if the user list is not empty and verify whether the connection belongs to a deleted user and also verify whether the space is deleted.&lt;/LI&gt;
&lt;LI&gt;If connections are found, gather all the required information to send an email:
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Retrieve tenant information using the &lt;STRONG&gt;Get Current Tenant Info&lt;/STRONG&gt;&amp;nbsp;block.&lt;/LI&gt;
&lt;LI&gt;Loop over the list of data connections and check the users with the tenantAdmin role and picks the &lt;STRONG&gt;username&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;useremail&lt;/STRONG&gt;&amp;nbsp;of the tenant admin and loop over the "TenantAdminList" and retrieve all the email addresses of the tenant Admins.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Construct the email body using the above information and sends out an email to the owners of the data connection.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Below is the image of the email received.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example report output.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167003i1DCE7EDC7408E1EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="example report output.png" alt="example report output.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 06:43:05 GMT</pubDate>
    <dc:creator>Madhushree_BP</dc:creator>
    <dc:date>2024-05-29T06:43:05Z</dc:date>
    <item>
      <title>Qlik Application Automation : Alert app owners and TenantAdmins about orphaned data connections</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Application-Automation-Alert-app-owners-and-TenantAdmins/ta-p/1934032</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This article contains additional information on the&amp;nbsp; "Alerts app owners about orphaned data connections" template. You can find this template in the template picker when creating new automation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note: This is only for Qlik Sense applications.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This template sends an email to each owner of a data connection that has been orphaned by its associated space being deleted, or emails each TenantAdmin data connection that has been orphaned by deletion of their respective owners.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose a user has connected to a data connection in the space "XYZ" and then the "XYZ" space was subsequently deleted. This template can be used to send an email to the owners of the data connection. Then the owners can decide whether to move these connections to new spaces so they can continue to be used or to delete them.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Steps to set up the values in the template:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Set the value for the variable&lt;STRONG&gt;&lt;SPAN&gt; EmailTenantAdmins&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;which sends an email to all the tenant admins regarding the list of data connections that are orphaned. The value can be YES/NO.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Automation structure&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Retrieves all the users and the data connections that the users are connected to in the tenant.&lt;/LI&gt;
&lt;LI&gt;Retrieves the space id.&lt;/LI&gt;
&lt;LI&gt;Loop over data connections and check if the user list is not empty and verify whether the connection belongs to a deleted user and also verify whether the space is deleted.&lt;/LI&gt;
&lt;LI&gt;If connections are found, gather all the required information to send an email:
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Retrieve tenant information using the &lt;STRONG&gt;Get Current Tenant Info&lt;/STRONG&gt;&amp;nbsp;block.&lt;/LI&gt;
&lt;LI&gt;Loop over the list of data connections and check the users with the tenantAdmin role and picks the &lt;STRONG&gt;username&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;useremail&lt;/STRONG&gt;&amp;nbsp;of the tenant admin and loop over the "TenantAdminList" and retrieve all the email addresses of the tenant Admins.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Construct the email body using the above information and sends out an email to the owners of the data connection.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Below is the image of the email received.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example report output.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167003i1DCE7EDC7408E1EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="example report output.png" alt="example report output.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 06:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Application-Automation-Alert-app-owners-and-TenantAdmins/ta-p/1934032</guid>
      <dc:creator>Madhushree_BP</dc:creator>
      <dc:date>2024-05-29T06:43:05Z</dc:date>
    </item>
  </channel>
</rss>

