Hello everyone! I’m new to this group, so please let me know if I’m not following any community rules. I’m currently exploring the OpenRPA codebase to find the specific source or function responsible for converting elements into XAML files. For instance, when a user drags and drops an element from the left panel onto the workflow screen, an arrow and sequence are generated, and this visual layout is stored in the XAML file. My goal is to locate the algorithm or function that creates the XAML syntax so I can integrate my own system to generate runnable XAML within OpenRPA. If anyone knows the function name or where this part of the code resides, your guidance would be greatly appreciated.
OpenRPA uses Microsoft Workflow Foundation. This is built into the .NET Framework versions 3.5 and 4.x and handles showing the designer and toolbox, and offers an interface to implement the workflows “runner” and state store. So the part that converts the visual into XML is not open source but is controlled by Microsoft (I’m sure you can decompile and find it if you really want to).
Microsoft decided to stop implementing Workflow Foundation in newer frameworks and allowed UiPath to offer an open-source version of the framework minus the UI part. This will most likely also contain code for converting a dynamic workflow into XAML.
But if you open a few XAML files, you will quickly see the syntax is relatively simple. It is not that hard to manually build the XML needed to represent a workflow, so that would be my recommendation for you.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.