Hi,
If you enter garbage code in an expression, it will fail at execution. More likely, it happens when you make a copy/paste of a node and wrong references to previous nodes persist. However there is no way to detect if a workflow contains errors in node expressions, and we can save it without a warning.
I would suggest:
- An error icon on faulty nodes containing expression errors
- Display an error on save if the workflows contains nodes with expression errors
- (optional) A list of expressions errors in this workflow (probably a tab after Editor and Executions which would appear only if there are errors)
Romain