Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have to schedule my app based on working dates.
It has to run only on 2nd working day of every month.
For which I can do a verification and do wirte a code stating exit script if it is not second working day.
Would write this logic in qvw and save it as cal.qvw
This is good so far. Problem is though I exit the script still the task would be successful.
Say suppose I have another qvw name 'abc.qvw', and this would run when ever the cal.qvw is successful.
Can I fail the task based on exit script??
First, it is OK to use multiple tasks on one QVW, no need fro two QVWs.
Second, if the question is "Can I fail the task based on exit script??" - not exactly but you can fail a task based on script. For example
IF <condition> THEN
<good script>
ELSE
<any incorrect script>
ENDIF
You can have 2 qvw running under 2 separate tasks :
One that checks if it is the 2nd working day. If no, do nothing. If yes, trigger the next task (using EDX)
Then the 2nd will only be running if triggered by the first
First, it is OK to use multiple tasks on one QVW, no need fro two QVWs.
Second, if the question is "Can I fail the task based on exit script??" - not exactly but you can fail a task based on script. For example
IF <condition> THEN
<good script>
ELSE
<any incorrect script>
ENDIF
That must be the only time incorrect script is useful !
I'm not sure yet how useful it is, but if it is what's required...
Hi Ioannis,
Can you please tell me how to use EDX.
Regards,
Swetha
I used this: Using EDX in QlikView 11
Very helpful document.
Thanks Michael