The Five Stages

[ 1. Scout ] ----> [ 2. AI Analysis ] ----> [ 3. BPM Generation ] ----> [ 4. Orchestrator ] ----> [ 5. App Package ] Parse source Annotate nodes: Build Velaris Validate + Output .hxapp file/URL/API stages, steps, case type JSON resolve deps + bundle ready > process graph form fields, from annotated connector stubs to import SLA hints, roles graph (Draft) + warnings

Stage Details

StageInputOutputTypical Duration
ScoutBPMN XML file, URL, or paste; or Pega/ServiceNow connectorParsed process graph (nodes, directed edges, gateways, swim lanes)< 2 s
AI AnalysisProcess graphAnnotated graph: Velaris stage names, step types, form fields per node, SLA hints, access group suggestions5–15 s
BPM GenerationAnnotated graphVelaris case type JSON definition (draft format)3–8 s
OrchestratorCase type JSONValidated definition + connector config stubs + migration warning list< 2 s
App PackageValidated definition.hxapp ZIP with case type, connector stubs, and manifest checksum< 1 s

Running a Migration

  1. Navigate to Studio > HxMigrate. Click New Migration.

  2. Choose your source type: Upload BPMN File (drag & drop), Paste BPMN XML, or Connect to Pega / ServiceNow (requires pre-configured connector with API credentials).

  3. 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.

  4. 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.

  5. 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.

  6. Stage and publish the case type when satisfied. Follow the standard HxBranch review process before pushing to production.

Common Migration Warnings

WarningCauseResolution
Unresolved connector typeSource process calls an external system with no matching Velaris connectorAdd the appropriate HxConnect connector manually and link it to the step
Complex decision tableBPMN contains a DMN decision table that can't be auto-converted to a guard expressionManually encode the decision logic as HxFusion rules or stage guard conditions
Sub-process referenceProcess references another BPMN process by call activityMigrate the sub-process separately and link via a connector or manual step
Ambiguous gatewayXOR gateway has conditions that depend on runtime data not available at parse timeReview the generated transition conditions and update them with the correct Velaris field expressions

API Reference

# 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
AI-generated output is a starting point, not a finished product. Always review generated stages, field names, transition conditions, and step types before publishing. Do not publish AI-generated case types to production without human review.