<?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 How do I make an Alert Condition depend on which server its on? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-make-an-Alert-Condition-depend-on-which-server-its-on/m-p/1053775#M353428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like many of you, I regularly promote an app from my DEV server to my PROD server. &lt;/P&gt;&lt;P&gt;I have an app where I'd like an alert to trigger an email when certain conditions apply, but only on the production box.&amp;nbsp; I don't know how to structure that in Qlik's coding, but logically it would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if server = prodservername&lt;/P&gt;&lt;P&gt;&amp;nbsp; then &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; else false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if there's an easy way to load up the servername, or how this would look in the condition box.&amp;nbsp; Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 23:30:21 GMT</pubDate>
    <dc:creator>tripwireqv</dc:creator>
    <dc:date>2016-02-29T23:30:21Z</dc:date>
    <item>
      <title>How do I make an Alert Condition depend on which server its on?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-an-Alert-Condition-depend-on-which-server-its-on/m-p/1053775#M353428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like many of you, I regularly promote an app from my DEV server to my PROD server. &lt;/P&gt;&lt;P&gt;I have an app where I'd like an alert to trigger an email when certain conditions apply, but only on the production box.&amp;nbsp; I don't know how to structure that in Qlik's coding, but logically it would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if server = prodservername&lt;/P&gt;&lt;P&gt;&amp;nbsp; then &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; else false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if there's an easy way to load up the servername, or how this would look in the condition box.&amp;nbsp; Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 23:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-an-Alert-Condition-depend-on-which-server-its-on/m-p/1053775#M353428</guid>
      <dc:creator>tripwireqv</dc:creator>
      <dc:date>2016-02-29T23:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an Alert Condition depend on which server its on?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-an-Alert-Condition-depend-on-which-server-its-on/m-p/1053776#M353429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;store a QlikView script file on both servers, define a variable containing the Dev or Prod environment in this file and include it in your script.&lt;/P&gt;&lt;P&gt;You can then use the variable to distinguish between your environments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 00:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-an-Alert-Condition-depend-on-which-server-its-on/m-p/1053776#M353429</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-03-01T00:58:54Z</dc:date>
    </item>
  </channel>
</rss>

