Forum Discussion

FICO's avatar
FICO
Community Manager
15 years ago

Compile Error: Constant Expression Expected

Compile Error: Constant Expression Expected

I'm having an issue compiling a generated instance of a ruleset template.  It actually only seems to occur once I've created a rule inside the instance.  When I try to compile I always get this error.

Error: Constant expression expected

Clicking on the error pulls up the rule inside the ruleset instance, but doesn't highlight anything as being the problem.  I've tried tons of things to narrow it down, everything from the rule being a simple...

if(true) then { return; }

... to not even having any SRL in the rule.

I have a feeling it may be the rule name, but I've changed it to something completely random to garauntee uniqueness, but I still get the same error.  Has anyone here ran into this error?

Best Regards

Matt

1 Reply

  • FICO's avatar
    FICO
    Community Manager

    I found the problem.  I forgot to place single quotes around my date values...  /facepalm

    Best Regards

    Matt