Testing Workflows (Run Test)
The “Run Test” utility allows you to validate individual steps or full flows without deploying them to production.
Using the {{var:type}} Syntax
Section titled “Using the {{var:type}} Syntax”When defining test inputs or mapping variables, you can enforce specific data types using the curly-bracket syntax. This ensures the engine treats the data correctly (e.g., as an integer instead of a string).
- Syntax:
{{variable_name:type}} - Example:
{{amount:number}}or{{is_active:boolean}}.
Loading Schemas from REST APIs
Section titled “Loading Schemas from REST APIs”If you are testing a step that interacts with an external REST API, the “Run Test” interface can automatically configure itself if the target API exposes a /schema endpoint.
- Enter the Base URL of the API.
- Click “Load Schema”.
- The system will fetch definitions from
[api-url]/schema, automatically populating the available fields and validation rules for your test case.
Submitting File Attachments in Tests
Section titled “Submitting File Attachments in Tests”- Locate the field mapped to
field.uploaded_document. - Click the Upload icon within the test interface.
- Select a local file. This file is temporarily processed by the
extract_documentstep (if configured) to simulate a real user submission.