<?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 Re: Passing parameters in Supporting Tasks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631585#M1300129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;True, that's the tradeoff for not having to create 100+ additional and almost identical failure registration tasks.&lt;/LI&gt;&lt;LI&gt;I don't know. You are free to put anything in the command line that is acceptable to the program you try to run. Suppose your command line says something like this: C:\Program Files\Report\Report.exe -msg="ABC", then you can adjust the msg parameter for every other task you need to trigger. Of course this only works if you keep to the 100+ additional failure registration tasks.&lt;/LI&gt;&lt;LI&gt;I do believe that this is a major hassle. But unfortunately there is no standard solution available as you describe. Maybe you can request a new QlikView Server feature in &lt;A href="https://community.qlik.com/space/2040"&gt;Ideas&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you could use the management API to create a task monitoring tool that checks for task failures and reports them in a generalized way. But I'm sure that building your own tool is part of range of possible solutions you are envisioning...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 13:24:50 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-10-02T13:24:50Z</dc:date>
    <item>
      <title>Passing parameters in Supporting Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631580#M1300118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to pass parameters to a Supporting Task defined as an external program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Task A (External Trigger)&lt;/P&gt;&lt;P&gt;--- Supporting Task B (after Task A finishes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task A is triggered by EDX with one variable passed: myVar = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Task B runs the external program, I'd like to use the myVar value passed before, so I could execute "C:\MyExternalCommand.exe /myVar=1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631580#M1300118</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters in Supporting Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631581#M1300120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In plain, no.&lt;/P&gt;&lt;P&gt;The taskchain in Publisher can only exacute on Success or failure.&lt;/P&gt;&lt;P&gt;So it won´t rrecognize if a trigger has excuted on a&amp;nbsp; varible, it only execute on state on the task&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 20:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631581#M1300120</guid>
      <dc:creator />
      <dc:date>2014-05-28T20:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters in Supporting Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631582#M1300122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to have parameter support as well, at least built in parameters.&lt;/P&gt;&lt;P&gt;I have a notification script, which I want to run on failure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;I'm missing two things:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; A trigger that globally triggers on _any_ failure (or success). &lt;/P&gt;&lt;P&gt;With the current implementation I have to add one trigger for every task I want to monitor.&lt;/P&gt;&lt;P&gt;Or at least a way to select multiple tasks in one trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Variables that I can use when calling the external program, for example $&lt;SPAN style="font-size: 13.3333px;"&gt;triggeringTaskName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;With the current implementation, I have to add one external task for every task I want to check and do a unique execution for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Current setup, 3x supporting tasks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A)&lt;/P&gt;&lt;P&gt;Trigger: Failure Task1&lt;/P&gt;&lt;P&gt;Command line statement: d:\failscript.exe "Task name 1"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;B) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Trigger: Failure Task2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Command line statement: d:\failscript.exe "Task name 2"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;C)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Trigger: Failure Task3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Command line statement: d:\failscript.exe "Task name 3"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Wanted scenario&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;A)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Trigger: Any-Task-Fails&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Command line statement: d:\failscript.exe $triggeringTaskName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 12:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631582#M1300122</guid>
      <dc:creator />
      <dc:date>2015-09-30T12:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters in Supporting Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631583#M1300124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you operate a Publisher, you can assign three or more triggers "on Failure" to a single Supporting task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Passing QMC parameters to a Supporting task is not possible. In that case you're better off with three task definitions because you can embed the failure details in the command line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 09:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631583#M1300124</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-10-01T09:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters in Supporting Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631584#M1300126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Yes, I can assign multiple triggers, but then my receiving script won't know which trigger that was triggered?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;I operate a publisher, how do I embed the failure details in the command line? I (quickly) read the help but did not see that?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Finally, my example was just an example, in reality i have 100+ tasks, and adding/maintaining triggers for all of them is a hassle. Therefore a */catchall "on failure" with a parameter of which task that failed would be a really nice thing to have.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks for taking your time to reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;/Sebastian&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 06:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631584#M1300126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-02T06:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters in Supporting Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631585#M1300129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;True, that's the tradeoff for not having to create 100+ additional and almost identical failure registration tasks.&lt;/LI&gt;&lt;LI&gt;I don't know. You are free to put anything in the command line that is acceptable to the program you try to run. Suppose your command line says something like this: C:\Program Files\Report\Report.exe -msg="ABC", then you can adjust the msg parameter for every other task you need to trigger. Of course this only works if you keep to the 100+ additional failure registration tasks.&lt;/LI&gt;&lt;LI&gt;I do believe that this is a major hassle. But unfortunately there is no standard solution available as you describe. Maybe you can request a new QlikView Server feature in &lt;A href="https://community.qlik.com/space/2040"&gt;Ideas&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you could use the management API to create a task monitoring tool that checks for task failures and reports them in a generalized way. But I'm sure that building your own tool is part of range of possible solutions you are envisioning...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 13:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631585#M1300129</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-10-02T13:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters in Supporting Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631586#M1300131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I "solved" this by using the "email on error" feature instead, using &lt;A href="https://ifttt.com/" title="https://ifttt.com/"&gt;IFTTT - Make Your Work Flow&lt;/A&gt; to relay the mail to the service(s) I want to use &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only problem is that I get another system in between, but still better than nothing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 09:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-in-Supporting-Tasks/m-p/631586#M1300131</guid>
      <dc:creator />
      <dc:date>2015-10-06T09:40:26Z</dc:date>
    </item>
  </channel>
</rss>

