Use Velox Scripting
Velox Scripting adds PascalScript expressions and event code to Maps, Flows, file routing, Transports and other supported configuration. Use it for rules that cannot be expressed clearly with ordinary configuration.
Choose a starting point
- Start with Velox Scripting concepts to understand contexts, events, side effects and reuse.
- Configure variables and Scriptlets when several scripts need shared values or code.
- Write and test Velox scripts for the editor, compilation and controlled runtime testing workflow.
- Follow the worked examples to practise a small, fictional Map rule.
- Use the Velox Code Library to find declarations and context-specific objects in your installed version.
Work safely
Open a script from the module or field that owns it. The available objects and events vary by context, so code that works in one editor might not work in another.
Compile before saving, then test the owning Map, Flow or Transport with sanitised data in a controlled environment. Compilation checks declarations and syntax; it does not prove that files, databases, credentials, remote systems or side effects will behave as intended.
Treat shared variables and Scriptlets as dependencies. Review their callers and test affected integrations before changing them. Do not place secrets in examples or logs.
Reference availability
Designer provides the Code Library from Help > Code Library, and scripting editors expose relevant reference entries. You can also browse the published Code Library. The installed library remains the correct reference for the exact Velox version being configured.