Introducing the Plug & Play BOT, a ready-to-use UiPath workflow that can be integrated easily with any project across different customers that too without any modification.
Need of reusable components across multiple projects/customers inspired me to create the Plug 'N' Play BOT to Archive files using UiPath.
What it does?
Archiving files is one of the most common functionality that we come across in almost every RPA implementation and every time the developers need to re-create a workflow to do this activity.
It reads all the files stored in a source folder and move them into Logs folder (destination). Logs folder is created at run time i.e. every run will create a Log folder with current date and time.
How I built it?
Created it using the system activities of UiPath.
Configured the BOT to read folder path of the source files from the input argument type. BOT will throw an exception in case any error encountered at run-time. It can be run standalone or can be integrated with any project.
Successfully tested the execution for different customers. It works very well without any change in code.
Publish it under the centralized umbrella called as BOT Factory or Market Place which can be easily downloaded by the RPA professionals having access to it.
How to use Archieve Files Plug & Play workflow?
Filename: Archieve Files.xaml
- Download the complete project repository
(B) Invoke: Integration with existing project
- Use Invoke Workflow activity in your project sequence/workflow
- Click import arguments
2.1. Pass the folder path (string data type) as a value to the input argument in_strFolderPath
(C) Run: Standalone execution
- To Run standalone: Open “Archieve Files.xaml” -> hit run
- BOT will prompt the user to select folder -> click OK
(D) Verify Results:
- Files are moved into Data\Log Files folder of project repository
- Every run will create a folder with current date & time inside Data\Log Files -> your files are moved over hereProject repository details:
Project repository details:
- Archieve Files.xaml