Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.

Expose More Script Error Details to Variables

carlcimino
Creator II
Creator II

Expose More Script Error Details to Variables

Hello It would be extremely helpful to expose more errors to variables that users can utilize to help troubleshoot.

https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVaria...

A common example is in the screen print below.   The script window shows an error occurs and then shows what the error is.  Would be great to have that highlighted line put into a variable in addition to having the error type (field missing).

https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVaria... 

carlcimino_0-1648226721506.png

So it would appear here:

carlcimino_1-1648227153446.png

 

2 Comments
simonaubert
Partner - Specialist II
Partner - Specialist II

Hello,

Even more interesting : you can then script different actions according to the error message : retry or fail.

Best regards,

Simon

carlcimino
Creator II
Creator II

Hi @simonaubert , Yes that is part of the goal with using Call Try and Call Catch.  The other part is sending emails directly to the developer/app owner with the error message instead of going to the qmc and downloading the log.  The email would show the error type (field missing) and then the field that is missing which is the critical piece of info to solve for the error.

Happy Qlikking!

Carl