Major Updates Scriptable Process Editor Update - MODLR Gateway

Scriptable Process Editor Update

An updated code-first environment for building "scriptable processes". JavaScript-based automation's that pull data from a source, transform it, and write results back into your model. It sits alongside the existing node-based Visual Process canvas but is built for people who'd rather write a script than wire up a flow diagram.

Requires Engine Version 2.7.234 or later.

1784546339313.png

Layout
  • Sidebar, editor, and console all live in a shared resizable splitt layout. Drag panes bigger or smaller, order them however you need.
  • Ability to edit multiple scriptable processes and execute them too.
  • Full code editor: (the engine behind VS Code) for the script pane, with real autocomplete and suggestions, not just plain text.
  • A dedicated Settings pane per process, separate from the script itself.
  • Dedicated Data pane per process so you can view data side by side.

Updated IntelliSense
  • Live type-checking: the script pane now runs full JS syntax + semantic validation as you type, so mistakes surface immediately instead of only at execution time.
  • Script Library autocomplete: reference a shared helper file with script.library('path') and its functions/classes are parsed and injected as real type definitions, giving you accurate autocomplete for library code instead of writing against a black box.
  • Prompt variable autocomplete + go-to-definition: prompt variables referenced in your script are detected and registered with the editor, so they autocomplete like any other identifier, and you can jump straight to where a prompt is declared.

Thanks