Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Pass parameter from script to supporting task BAT file

Hi all,

I have a batch script that deletes a file and is triggered by a supporting task in the QMC. I would like this file x to be deleted after a reload has been succesfull based on file x. So for this I need to pass parameter x from the script to the supporting task and then on to the batch file. Does anybody know how to do this?

Thanks!

Erik

2 Replies
danielrozental
Honored Contributor II

Re: Pass parameter from script to supporting task BAT file

Unless you use files to transfer parameters I don't think you can do this.

It would definitely be an improvement if you could pass parameters, exit codes, etc, through tasks.

vgutkovsky
Honored Contributor II

Re: Pass parameter from script to supporting task BAT file

You may be able to do this with VBS log file parsing (i.e. parse the QlikView document log file to search for the filename). See this page for some syntax suggestions: http://www.myitforum.com/articles/11/view.asp?id=4380

Regards,

Vlad