This is the link to the official version of the UiPath ReFramework. It’s purpose is to provide a template which handles the basic needs of any business process automation, like reading and storing a configuration file, retrying Transactions that fail with an Application Exception and logging the status of all processed transactions, failed or successful.
In this post i will link a fork of the ReFramework, hosted, for the moment, on my own github. As soon as we have updated the documentation and bug testing, it will be available on our official github. For now, you can download it here:
It aims to improve on the above linked version in the following ways:
Split the template into functional layers: framework layer, business process layer, process logic layer, services layer. The services layer allows the dev to call another ReFramework within a ReFramework. This enables you isolate and solve specific problems and return the results up the call stack.
SOC (separation of concerns): Minimum intervention in the framework layer and a clearer separation into what needs to be edited by the developer (business process layer and process logic layer). The dev needs to modify the workflows located in the “ProcessLayer” Folder.
Implementing universal logging. You can now implement a single dashboard for any process because logs on all levels are linked together by parent/child relationships.
Documentation for this version is not yet complete.
Although it has gone through thorough bug testing, this is not yet the final version.
Even so, i would recommend you read the architecture document and, if you like it, implement using it as it should offer improvements over the above posted version.
Since, i am new to Framework i am asking this question. please dont mind if it is basic.
in set transaction status XAML file - if the exception type is system exception then it is closing all the application
but my trigger point is indicating to Init stage then what is the purpose of this.
Are we supposed to use the RE Framework only when we work with queues or it can be used for processes which doesn’t require queues in development.
I am bit confused as to when should I go for RE Framework or should I always use RE Framework for my developments.
ReFramework is meant by design, As-Is, to handle transactional processes and with Queues however, It is possible with some minor tweaks to adapt it to a non-queue process (based on a datatable for example) or even an Attended/One time non transaction job.
Transactional with datatable/Datarows
You have example here, including xaml from our dear @loginerror.
The academy advanced training is also showing on the first assignement how to do so.
Attended/One Time (non-transactional)
Connect all transitions going from “Process Transaction” State to “End Process”
Delete the getTransaction State
Connect the “Success” transition from “Init” to “Process Transaction State”
This should look like the screenshot bellow.
Of course you can tweak it a little more and remove some unused pieces inside the invoked workflow but this should be working like this.