HxMigrate automates the migration of legacy BPM processes (BPMN 2.0, Pega, ServiceNow) into Velaris case types. A five-stage AI pipeline scouts the source, analyses it semantically, generates a Velaris definition, validates dependencies, and produces a portable .hxapp bundle — with real-time progress visible in Studio.
| Stage | Input | Output | Typical Duration |
|---|---|---|---|
| Scout | BPMN XML file, URL, or paste; or Pega/ServiceNow connector | Parsed process graph (nodes, directed edges, gateways, swim lanes) | < 2 s |
| AI Analysis | Process graph | Annotated graph: Velaris stage names, step types, form fields per node, SLA hints, access group suggestions | 5–15 s |
| BPM Generation | Annotated graph | Velaris case type JSON definition (draft format) | 3–8 s |
| Orchestrator | Case type JSON | Validated definition + connector config stubs + migration warning list | < 2 s |
| App Package | Validated definition | .hxapp ZIP with case type, connector stubs, and manifest checksum | < 1 s |
Navigate to Studio > HxMigrate. Click New Migration.
Choose your source type: Upload BPMN File (drag & drop), Paste BPMN XML, or Connect to Pega / ServiceNow (requires pre-configured connector with API credentials).
Click Start Pipeline. The real-time progress bar advances through each stage. Hover over warnings that appear inline — they describe parts of the source process that couldn't be auto-resolved.
When the pipeline reaches App Package, click Download .hxapp to save the bundle, or Import Directly to load the case type into Studio as a Draft immediately.
Open the imported case type in the Case Type editor. Address the listed warnings (e.g. unresolved connector types, ambiguous decision tables). Edit stage names and step configurations as needed.
Stage and publish the case type when satisfied. Follow the standard HxBranch review process before pushing to production.
| Warning | Cause | Resolution |
|---|---|---|
| Unresolved connector type | Source process calls an external system with no matching Velaris connector | Add the appropriate HxConnect connector manually and link it to the step |
| Complex decision table | BPMN contains a DMN decision table that can't be auto-converted to a guard expression | Manually encode the decision logic as HxFusion rules or stage guard conditions |
| Sub-process reference | Process references another BPMN process by call activity | Migrate the sub-process separately and link via a connector or manual step |
| Ambiguous gateway | XOR gateway has conditions that depend on runtime data not available at parse time | Review the generated transition conditions and update them with the correct Velaris field expressions |
# Start a migration pipeline curl -s -X POST http://localhost:8200/api/v1/migrate/start \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"source_type": "bpmn_paste", "source_content": "<?xml version=..."}' # Poll pipeline status curl -s http://localhost:8200/api/v1/migrate/{run_id}/status \ -H "Authorization: Bearer $TOKEN" # Download completed .hxapp bundle curl -s http://localhost:8200/api/v1/migrate/{run_id}/download \ -H "Authorization: Bearer $TOKEN" --output migrated.hxapp