BROKER_ERROR_CONDITIONAL_COMMAND_NOT_HANDLED(-295): Error parsing line 32 of script "Finance.exe"

  • 7940293
  • 19-Aug-2009
  • 30-Jan-2014

Environment

SecureLogin
SecureLogin SSO
All Versions

Situation

Issue

Administrator is SSO enabling a windows Finance application. When starting the application after developing the script, the administrator noticed the following error;

BROKER_ERROR_CONDITIONAL_COMMAND_NOT_HANDLED(-295): Error parsing line 32 of script ""Finance.exe"" OK More

Resolution

Cause

The administrator navigated to the relevant line of the Finance script and noticed the If statement contained invalid arguments as per the following section of the script (line 32 is the line starting with ""If"").

If ""Finance"" In ?System 
Set ?System ""Finance"" 
EndIf

Solution

Incorrect syntax for the If statement. The customer should have included a minus sign before the word In, as per the SecureLogin scripting guide. Customer added the ""-"" sign and the problem was solved.

If ""Finance"" -In ?System 
Set ?System ""Finance"" 
EndIf