run_xml_verification
Run quality checks from an XML spec as-is, keeping condition filters and default values intact. Provide specification name and data source mappings to get error summaries per condition.
Instructions
Run a ProSuite quality verification directly from the loaded XML spec file.
Unlike run_verification, this tool sends the XML spec to the ProSuite service as-is, without decomposing it into individual conditions and datasets. This preserves per-condition dataset filters, default scalar values, and all other spec details exactly as configured.
Use search_spec (with empty query) to discover available specification_name values and workspace_id keys that need to be replaced.
Args: specification_name: Name of the QualitySpecification element inside the XML file to run (e.g. 'Copy of DATA_OSM_10_Demo'). data_source_replacements: Maps each workspace_id in the XML to the actual workspace path on the ProSuite server. Example: [{"workspace_id": "DATA_OSM", "workspace_path": "C:/data/osm.sde"}] output_dir: Optional server-side directory for Issues.gdb and HTML report. Omitted, a local runs/ directory is used only when PROSUITE_HOST is local, since the service resolves the path. envelope: Optional spatial filter {x_min, y_min, x_max, y_max}.
Returns a summary with status, total_errors, and per-condition breakdown. Runs whichever spec is active: the one load_spec was last called with, otherwise PROSUITE_SPEC_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelope | No | ||
| output_dir | No | ||
| specification_name | Yes | ||
| data_source_replacements | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||