Author: Christian Prior-Mamulyan
License: CC-BY
Email: [email protected]
This script parses a UiPath .xaml
workflow file and extracts only those elements that are visually represented in UiPath Studio (i.e., shown in the workflow designer panel). It uses structural rules and a metadata blacklist for accuracy.
- Loads any
.xaml
file from a UiPath project - Recursively traverses the workflow structure
- Filters out non-visual metadata (
Property
,x:Members
, etc.) - Identifies activities with
DisplayName
or structural significance - Prints a clear, indented list of visual elements with their hierarchy paths
python xaml_visual_activity_extractor.py path/to/your_workflow.xaml
- [Sequence] VerifyImapConnection (Path: Activity/Sequence)
- [LogMessage] Log Message INFO begin (Path: Activity/Sequence/LogMessage)
- [Sequence] Initialize (Path: Activity/Sequence/Sequence)
- [MultipleAssign] Multiple Assign out_Status (Path: ...)
- [TryCatch] Try Catch Get IMAP Mail Messages (...)
- Python 3.x (no external libraries required)