2 Replies Latest reply on Jan 15, 2018 10:26 PM by shawnt RSS
    shawnt Newbie

    Syntax Check Failed -- when saving Service with a large number of lines of code.

    I created a service that takes data from our historian (IP.21) and caches into a Thingworx Data Table.  The table has 761 Columns.  When creating a service to populate the table -- I had approximately 850 lines of JavaScript code.  Is there a maximum limit to the allowable size of a javascript service?

     

    I keep getting error:  syntax check failed:

     

    Encountered code generation error while compiling script: Program too complex: too big jump offset at line 1 column 0 source: /null

     

    What does the "Program too complex" error mean?