This RPA project automates the process of accessing the HCP website to check for offline devices, ensuring timely monitoring and alerting. It simulates human interaction to navigate, extract, and analyze device statuses directly within the workflow.
When offline devices are detected, an email is automatically sent using a predefined format.
This automation logs into the HCP portal, navigates to the monitoring section, and scrapes device status data. It processes the information in-memory using UiPath, and if offline devices are found, it sends an alert email using a formatted message body.
The process leverages REFramework for reliability, retry handling, and structured exception handling.
- Automated HCP website interaction
- In-memory processing of device statuses (no Excel export)
- Automatic email alerts if offline devices are found
- Email uses a custom, pre-formatted message body
- Built with REFramework for stability and modularity
- Testable design with dedicated xaml modules
| Folder/File | Description |
|---|---|
| Main.xaml | Main entry point of the automation |
| Modular/LoginHCP.xaml | Logs into the HCP portal |
| Modular/HCPActivity.xaml | Navigates and processes device status |
| Modular/EmailError.xaml | Sends formatted error email if offline devices are detected |
| Framework/ | Standard REFramework components |
| Data/Config.xlsx | Contains URLs, credentials, and settings |
| Tests/ | Contains test cases for modular workflows |
| project.json | Project configuration and dependencies |
| README.md | Project documentation |
- Loads config from
Config.xlsx - Initializes logging and retrieves secure credentials
LoginHCP.xaml:- Opens the browser
- Navigates to HCP login page
- Logs in using stored credentials
HCPActivity.xaml:- Navigates to the device monitoring section
- Scrapes all device statuses
- Filters any Offline devices
- Formats data into a message body
- If offline devices are found:
- Sends a formatted email alert
- If no devices are offline:
- Process ends quietly
- Any error triggers:
- Screenshot capture
- Logging
- Execution of
EmailError.xamlto send error details
Ideal usage is via Orchestrator schedule for periodic checks.
- Open the project in UiPath Studio
- Update the
Config.xlsx:- Set HCP portal URL
- Configure credentials and email parameters
- Run
Main.xaml - Observe email output if any devices are offline
-
Business Exceptions:
- No device table found
- No offline status identified (email not triggered)
-
System Exceptions:
- Login failure
- UI elements not detected
Handled via:
- Retry logic (REFramework)
- Screenshots on failure
EmailError.xamlfor detailed email alert
- UiPath Studio (2022+)
- Chrome/Edge browser with UiPath extension installed
- Access to HCP portal
- Email SMTP/Outlook configuration
- REFramework understanding for modification
For questions, improvements, or collaboration:
- Email: fadillah650@gmail.com
- LinkedIn: Enrico Naufal Fadilla