validate_assembly
Validates assembly.xml and assembly-diagram.xml against Studio-specific rules, catching broken routes, missing required attributes, and stale diagram references before opening in Workday Studio.
Instructions
Validates assembly.xml (and assembly-diagram.xml if present) against Studio-specific rules.
assembly.xml checks: ERROR — XML comments present (shifts @mixed indices, breaks diagram connections) ERROR — Broken routes-to / routes-response-to (target id does not exist) ERROR — cc:workday-out-soap missing application= or version= ERROR — cc:workday-out-soap used for RAAS (must use cc:workday-out-rest) ERROR — cc:workday-out-rest missing extra-path= ERROR — cc:http-out missing endpoint= ERROR — cc:xslt-plus missing url= WARNING — vm:// endpoint references a local-in id that does not exist WARNING — url= references an XSL file not found in WSAR-INF INFO — TODO stubs still present (sub-flows not yet filled in)
assembly-diagram.xml checks (when diagram file exists): ERROR — diagram href="assembly.xml#Id" points to an id no longer in assembly.xml (stale reference from a rename or delete — causes scala.MatchError on open) WARNING — renderable assembly element has no diagram entry (missing from visualProperties)
Run this after update_sub_flow, any manual assembly edit, or any component rename/delete. Fix all ERRORs before opening in Studio. WARNINGs block testing, not diagram load.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_name": "<project_name>"
},
"name": "validate_assembly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | Project name, e.g. "INT145_My_Integration" |