Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Dhanunjaya1_L
Contributor
Contributor

QlikView- CLI Task not working

Hi Team,
Greetings of the day!
We have Qlik-CLI task in QlikView with below and its not getting triggered as expected( It should run the QS task after successfull completion of QlikView CLI task).
For Reference below is the script we have.
Powershell.exe -ExecutionPolicy Bypass -File "\\qv-acc.share.qlik.amazon.com\share\QV_ACC\SourceDocuments\NotQDF\Sales\Qlik_CLI\QS_OptimizedApp.ps1"

Script Inside Powershell:

$Certificate = Get-ChildItem cert:\CurrentUser\My | Where-Object {$_.Issuer -eq 'CN=qlik-sense-ACC.awseuw1.cloud.amazon.com-CA' -and $_.Subject -eq "CN=QlikClient"}
Connect-Qlik -Certificate $Certificate -Computername qlik-sense-ACC.awseuw1.cloud.amazon.com -TrustAllCerts
start-Qliktask "Reload task for Optimized app"

Error in QMC log:

(10/25/2023 1:42:33 PM) Error: The process exited with non-zero ExitCode (-393216) at 10/25/2023 1:42:33 PM

(10/25/2023 1:42:33 PM) Error: The task "Copy of Qlik-Cli : QS_OptimizedApp" failed. Exception: || QDSMain.Exceptions.TaskFailedException: The process exited with non-zero ExitCode (-393216) at 10/25/2023 1:42:33 PM || at QDSMain.ExternalProgramTask.Execute(IExecutingTaskResult executingTaskResult) || at QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)



QlikView : May 2023 SR1
Thanks,
Dhanunjaya L

Labels (4)
1 Solution

Accepted Solutions
Chip_Matejowsky
Support
Support

As stated previously, Qlik CLI isn't compatible or supported with use with QlikView. Suggest you post your query on the Git Hub site for further assistance or contact your Qlik account team to explain your business use case and potentially have a Qlik consultant provide a solution.

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

3 Replies
Chip_Matejowsky
Support
Support

Hello @Dhanunjaya1_L,
Please refer to Qlik Support article Qlik CLI Support and Compatibility which states Qlik CLI is incompatible with QlikView. 

Qlik CLI compatible.png

 

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
Dhanunjaya1_L
Contributor
Contributor
Author

@Chip_Matejowsky We are using the Qlik CLI Windows and its working fine since long.(Which used to run the QS task after successful completion of QV task).We used this approach from Git sources.

Also used the execution policy as Remote signed and used Bypass command also for Non digital files.

Thanks,

Dhanunjaya L

 

Chip_Matejowsky
Support
Support

As stated previously, Qlik CLI isn't compatible or supported with use with QlikView. Suggest you post your query on the Git Hub site for further assistance or contact your Qlik account team to explain your business use case and potentially have a Qlik consultant provide a solution.

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!