Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I would like to know the QMC tasks in Qlikview which are not running since more than 6 months or which are disabled. I wanted to delete those unused tasks. Could you please tell me how to identify those tasks. I don't want to do it manually. Because we have 1000+ tasks in QMC.
Appreciate your help.
Thanks,
Sagar Kharpude
Hello,
To programatically delete QDS tasks, you may be able to use the QlikView Management Service (QMS) APIs. A good place to start is the QlikView Developers section in the online Qlik Help, the QMS API reference.
-Chip
Hello,
To programatically delete QDS tasks, you may be able to use the QlikView Management Service (QMS) APIs. A good place to start is the QlikView Developers section in the online Qlik Help, the QMS API reference.
-Chip
I happen to know that our Consulting team is working on this right now for another customer using the APIs mentioned by Chip. If you're looking to buy a solution instead of programming it yourself, get in touch with Consulting.
Thanks Chris
Not sure which version of QlikView you are running, but in the 12.10 and later releases, there is the following setting, which will clean up the QDS Application Data folders such that anything you have deleted in the QMS/QMC side will also be cleaned up on the QDS side as well. You would have to delete things in the QMC though in order for this to do its job, and I am assuming you want to be able to run something that checks for things that are older than a certain date and disabled etc. and delete them automatically, and if that is the case, that would be to what Chris was referring, but the additional piece to this is the following entry in the QDS exe.config:
EnableAdvancedFilePurge - This setting purges deleted tasks and their associated triggers and results files in the Distribution Service Application Data folder. The purge runs once per day. Should only be enabled on one node in the QDS cluster, not all nodes. Note: this setting was introduced in 12.10 and later tracks and is a hidden setting, meaning it must be manually added to the config file in the ****** Program Settings ****** section. Default value is "false".
Not the state about having a QDS cluster setup, the setting goes on only ONE of the nodes in this case, as we do not want all of the nodes trying to do this cleanup, one is sufficient. Hopefully this may come in handy if you get the other part automated etc.
Regards,
Brett