Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vvira1316
Specialist II
Specialist II

Script shows Script Finished while in debugger, but comes up with Failed message when Close button in debugger is clicked

Hello,

Any help/guidance on the scenario

I'm not running into failed message if I've following code, as can be seen from Table viewer snap, but ......check Label "ERROR SITUATION" below

  If _DateField='Request Date' Then
       
RENAME Fields [$(_CalendarPrefix)DateText$(_CalendarSuffix)] to [RD DateText]; /*,   
         [$(_CalendarPrefix)Year$(_CalendarSuffix)] to [RD Year];   */
   End If 

RenameField.png

I'm running into failed message while debugging script that contains following code that is part of a subroutine even though it shows Script Finished in debugger. Failed message appears after Script Finished message in the debugger.

Label "ERROR SITUATION"

  If _DateField='Request Date' Then
       
RENAME Fields [$(_CalendarPrefix)Year$(_CalendarSuffix)] to [RD Year]; /*

         [$(_CalendarPrefix)DateText$(_CalendarSuffix)] to [RD DateText]; */  
  
End If 


ScriptFinished.png

ExeFailed.png

Thanks,

Vijay

1 Reply
vvira1316
Specialist II
Specialist II
Author

I found a work around to avoid situation that was causing it.