Create your first automation in just a few minutes.Try Studio Web →
by MCCM Innovations
0
Solution
<100
Summary
Summary
Convert workflows calls to library calls
Overview
Overview
What it does
We convert workflows calls to library calls.
How we built it
We developed a Python script that reads the XML DOM of `.xaml` files and process it converting workflow calls to library calls. First, we find out which are the namespaces of the current workflow files along with their input and output arguments. Then, we replace the workflow call with the library call adding those arguments. Finally, the input `.xaml` is overwritten with the new XML DOM structure.
In our case, we had three different libraries to interact with different systems. UiPath, SAP and ServiceNow. However, this script can be easily extended with your own libraries.
Features
Features
One of the best features we had in the latest version of UiPath was the ability to create customized libraries. Prior to this, we were using reusable components by invoking workflow files. Once we created our libraries, we had to update the existing code of all the robots to ensure that they were using our brand new and shiny libraries - and we didn't want to do this manually! With this script you can easily convert workflows calls to library calls.
Additional Information
Additional Information
Dependencies
"https://www.python.org/download/releases/3.0/" Python 3.6
Code Language
Visual Basic
License & Privacy
MIT
Privacy Terms
Technical
Version
1.0.0Updated
February 18, 2020Works with
Studio: 19.8 - 22.10
Certification
Silver Certified
Support
UiPath Community Support
Resources