Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tripwireqv
Contributor II
Contributor II

How do I make an Alert Condition depend on which server its on?

Like many of you, I regularly promote an app from my DEV server to my PROD server.

I have an app where I'd like an alert to trigger an email when certain conditions apply, but only on the production box.  I don't know how to structure that in Qlik's coding, but logically it would be

if server = prodservername

  then <condition>

  else false

I don't know if there's an easy way to load up the servername, or how this would look in the condition box.  Ideas?

1 Reply
MarcoWedel

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.

You can then use the variable to distinguish between your environments.

hope this helps

regards

Marco