Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There is a simple way to disable built-in syntax checker for the whole calculation (there is no longer need to put in each element), it will only work , so you do not need to do it for each element separately. It works only for the save operation, and while . While looking for configuration (select selecting a logic), it will never abort any real calculations.

To set it up, create a new element as , put it on the 1st or 2nd , and then put a simple code:

...

position and insert the following code in it:

Code Block
languagegroovy
if (api.isSyntaxCheck()) {
	api.abortCalculation()
}
Note

This feature is not intended and will not work as a workaround for cases when the coding style is bad:

  • If there are real issues (bugs) in your code, of course this does not help.

  • If you have "null" references, it is a better practice to fix it by using "?:"

But, for example, when the code works fine in the Test Drive but it is not possible to save the logic, then you can consider disabling the checker.