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

Qlikview schedule

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??

1 Solution

Accepted Solutions
Anonymous
Not applicable

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

View solution in original post

7 Replies
giakoum
Partner - Master II
Partner - Master II

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

Anonymous
Not applicable

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

giakoum
Partner - Master II
Partner - Master II

That must be the only time incorrect script is useful !

Anonymous
Not applicable

I'm not sure yet how useful it is, but if it is what's required...

kmswetha
Creator
Creator
Author

Hi Ioannis,

Can you please tell me how to use EDX.

Regards,

Swetha

Anonymous
Not applicable

I used this: Using EDX in QlikView 11

Very helpful document.

kmswetha
Creator
Creator
Author

Thanks Michael