0% found this document useful (0 votes)
8 views3 pages

Program 6

Uploaded by

Anil Kumar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Program 6

Uploaded by

Anil Kumar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Program 6: Implement Automation Using System Trigger in UiPath

Objective:

To create and implement RPA processes in UiPath Studio that are triggered automatically based
on predefined system events such as the start of a specific application (e.g., Notepad) or a change
in a specific file. This process uses System Triggers to demonstrate unattended, event-driven
automation.

Topics Covered in This Program

●​ Understanding System Triggers in UiPath


●​ Creating and Publishing Automation Workflows
●​ Event-Based Automation Using UiPath Assistant
●​ Configuring Process Start Trigger (e.g., Notepad)
●​ Configuring File Change Trigger
●​ Monitoring Automation Execution Logs
●​ Managing System Triggers through UiPath Assistant

Procedure

Step 1: Create a New Project in UiPath Studio

●​ Launch UiPath Studio.


●​ Create a new process and name it appropriately
(e.g.,System_Trigger_Notepad_FileChange).
●​ Design the automation process using a Sequence.
●​ Add a simple activity (e.g., Message Box, Log Message) to confirm the process was
triggered.

Step 2: Define the Automation Task

●​ In the main workflow, add an activity to execute when the trigger is fired.
○​ For Notepad trigger: Add a Message Box saying "Notepad has started".
○​ For File change trigger: Add a Log Message or Message Box indicating "File was
modified" or "File was created".
●​ Keep the process lightweight for quick execution upon event detection.

Step 3: Publish the Project

●​ Click “Publish” in UiPath Studio.


●​ Publish the process to UiPath Assistant or Orchestrator, depending on your environment.
●​ Verify that the process appears in the Assistant/Orchestrator dashboard.

Step 4: Configure the System Triggers

Option A: Process Start Trigger (Example: Notepad)

●​ Open UiPath Assistant.


●​ Go to the “Triggers” tab and click “Create”.
●​ Select the published process from the list.
●​ Choose Trigger Type as Process Start.
●​ Set the condition as Application = Notepad ([Link]).
●​ Save the trigger configuration.

Option B: File Change Trigger

●​ In UiPath Assistant, create another trigger.


●​ Choose Trigger Type as File Change.
●​ Specify the file path to monitor (e.g., C:\Users\YourName\Documents\[Link]).
●​ Choose the change type: Created, Changed, or Deleted.
●​ Save the trigger.

Step 5: Test the Automation

🔹 To test Notepad Trigger:


●​ Close Notepad if open.
●​ Launch Notepad manually.
●​ Observe if UiPath triggers the automation and displays the expected message.

🔹 To test File Change Trigger:


●​ Go to the monitored file path.
●​ Perform the action configured in the trigger (create, modify, or delete the file).
●​ Confirm the automation is triggered automatically and displays/logs the expected
message.

Step 6: Monitor and Manage Automation

●​ Check the execution status in UiPath Assistant under Jobs/Execution Logs.


●​ Ensure that the job status is Successful.
●​ Use UiPath Orchestrator or Assistant to disable, edit, or delete the trigger if needed.

Expected Output

Result:

Two RPA processes were successfully created and published using different System Trigger
types in UiPath:

1.​ Process Start Trigger to respond to Notepad launch, and


2.​ File Change Trigger to detect file modifications.​

The automation workflows ran successfully without manual execution, validating UiPath's
event-based automation capabilities.

You might also like