Export project to document

studio

#1

What is the use case

Many RPA developers use BPMN(Blueworks, Visio and etc.) for creating a graphical representation of business processes because this is one of the easiest ways to explain the automated process for business users.
In my opinion, it would be very useful to have the built-in UiPath capability to export flow (flowcharts, sequences, variables, activities(with main In/Out arguments) and etc.) to graphical representation - for example in word objects to use them in Process Documentation (PDD)

How do you see a solution for the use case?

So let’s consider an example with UiPath simple flowchart which consists of 2 sequences and one flow decision activity - figure 1.
Because, some activities have many In/Out Arguments, the exported flow representation can contain only not empty arguments but I think it will be enough to export name of activity and annotations(where we can describe arguments and provide other useful information about activity) without arguments, please, have a look below - figure 2:

Technical Solution:

To create notation we can use .xaml file structure and create code parser:
Take the example with used flow:

To get Flowchart name and variables:

<Flowchart sap2010:Annotation.AnnotationText="Simple Flowchart" DisplayName="Flowchart - Simple Counter" sap2010:WorkflowViewState.IdRef="Flowchart_1">
    <Flowchart.Variables>
      <Variable x:TypeArguments="x:Int32" Default="1" Name="A" />
    </Flowchart.Variables>
    <Flowchart.StartNode>

To get the first Sequence and used activities with annotations and arguments:

<FlowStep x:Name="__ReferenceID0" sap2010:WorkflowViewState.IdRef="FlowStep_1">
  <Sequence sap2010:Annotation.AnnotationText="Set A = A++" DisplayName="Sequence - Add" sap2010:WorkflowViewState.IdRef="Sequence_2">
    <Assign sap2010:WorkflowViewState.IdRef="Assign_2">
      <Assign.To>
        <OutArgument x:TypeArguments="x:Int32">[A]</OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments="x:Int32">[A + 1]</InArgument>
      </Assign.Value>
    </Assign>
  </Sequence>
  <FlowStep.Next>

And after parsing - interpret structure to visual objects using some rules and template.

Scope: RPA Documentation

  • Custom Activity
  • Template
  • Studio feature

#3

Great for sharing the bot to the management


#4

This would be in a top 5 list of wants for me.


#5

@product

Bump of this thread, very high vote during the contest as it is one of the key features that we would like to have.

Corporate RPA Devs and other Robot makers stakeholder are repetitively spending an incredible amount of time during implementations.

The existing “Save as image” and “Export to Excel” are a good start but this could be so much better.

Since every company has its own way of documenting things, it would be appropriate to have an export function with a configurable output.

A very good submission for the Virtual Hackathon was submitted in that sense, exporting Project as a Word document.

Anything planned is that direction?

Cheers