📣 Welcome to Day 1 of the UiPath Studio Web Workshop, in this session we will provide an introduction to UiPath Studio Web and delve into its significance in the automation landscape. Join us as we explore the key features and benefits that make UiPath Studio Web a game-changer. The session will include a quick start guide and an interactive demonstration of basic tasks using UiPath Studio Web. We will also dive into more complex automation tasks, including identifying leap years, writing and reading values in text files, and manipulating arrays.
👉 Day 1 Agenda
Introduction to UiPath Studio Web Interface
Basic Navigation and Setup
Interactive Demonstration on Tasks
📌Task 1: Craft Personalized Messages with the Log Message Activity
📌Task 2: Interactive Calculator with if Statements
📌Task 3: Date and Time Operations
📌Task 4: Leap Year Logic
Understanding Boolean Conditions
Identify Leap Years and Display Messages
📌Task 5: Write Values to Text File
Assign Values and Write to Text File
📌Task 6: Indexed Array Operations
Read Values into Array and Write to Text File Using Index Values
Speakers:
Vajrang Billlakurthi, Digital Transformation Leader, Vajrang IT Services Pvt Ltd. and UiPath MVP
Swathi Nelakurthi, Associate Automation Developer, Vajrang IT Services Pvt Ltd
Rahul Goyal, SR. Director, ERP Systems, Ellucian and UiPath MVP
3. 3
• Web-based platform within the Studio family
• User-friendly interface for automation tasks
• No installation required, accessible via web browser
• Supports cross-platform automations (Windows, Mac OS, Linux)
• Suitable for various user roles: business users, developers, IT admins and more
• Features live streaming for real-time automation visualization specifically for UI
Automation
• Seamless integration with desktop apps (StudioX, Studio)
• Utilizes Autopilot for automation generation
Introduction
4. 4
• Requires an automation cloud account
• Project creation methods:
- Autopilot : Generates automations
- Templates : Pre-made projects for easy customization
- New project (from scratch) : Allows complete customization of the
project
• Options for starting automation:
- Manual : Initiate the automation manually when needed,
- Event-based : Trigger the automation based on specific events,
- Time-based : Schedule the automation to start at a specified time
Studio web tenant Access
- https://forms.office.com/r/pMKwTRDkkw
Getting Started with Studio Web
5. 5
• Connectors: These tools enable you to connect and automate tasks within your
accounts across various applications.
• Connection: A connection is like a bridge that links your automation projects to
online apps.
- Purpose: Allows automation to interact with different online apps, enabling
data exchange and task automation.
- Example: Sending emails via Gmail using an automation project requires a
connection between the project and your Gmail account.
• Adding or Using a Connection: You can add new connections or utilize existing
ones within your workspace for easy access.
Understanding Connections in Automation
6. 6
• Definition: Sharing a project allows multiple people in an organization to
collaborate on automating tasks.
• Process: Share a project with individuals or groups within your organization.
Group members gain access to the project.
• Key Points:
- Only the project owner can delete or stop sharing it.
- Shared projects can be shared again by anyone with access.
- Only one person can edit a shared project at a time, unlocking when inactive
for 15 minutes.
Sharing Projects
8. 8
• Requirements:
- Invite participants to the webinar
- Obtain participant names
- Store participant names in a variable
- Access through each participant
- Log custom message to each participant
• Variable Creation:
- Name: Team
- Data Type: String[]
- Values: {"Swathi", "Parvathi", "Krishna", "Narender"}
• Array Explanation:
- An array is a data structure to store multiple values of the same data type with a fixed
length, meaning once defined, the size of the array cannot be changed.
- Arrays are typically enclosed in curly braces {}, with individual values separated by
commas, and string values encoded within double quotes " ".
- Array values are accessed through their indexes. Index starts with zero.
1. Craft Personalized Messages with the
Log Message Activity
9. 9
• a. Set Variable Value:
- Use Set Variable Value activity to store participant names in the Team array.
• b. For Each Activity:
- Utilize For Each activity to iterate through each participant's name.
- CurrentItem variable auto-generated to hold the current array value in each iteration.
• c. Custom Messages:
- Use Log Message activity within For Each activity.
- Provide custom message: "Hello " + CurrentItem.ToString() + ", Welcome to UiPath.“
• Conclusion:
- The workflow effectively invites participants by generating personalized welcome
messages using UiPath activities.
Workflow Overview
10. 10
• Requirements:
- Store current date and time in a variable of type date.
- Perform various operations on the date.
• Variable Creation:
- Create a variable named CurrentDateTime of type Date to store the current date and time.
• Operations:
- Log Date: Display current date and time.
- Log Year: Display the year of the current date.
- Log Month: Display the month of the current date.
- Log Day: Display the day of the current date.
- Log Day of Week: Display the day of the week of the current date.
- Log Day of Year: Display the day of the year of the current date.
- Add 10 Days: Calculate the date when 10 days are added to the current date.
- Subtract 5 Days: Calculate the date when 5 days are subtracted from the current date.
- Total Days: Calculate the total number of days from today to a specific date.
- Add 2 Months and 10 Days: Calculate the date after adding 2 months and 10 days to the current
date.
2. Date and Time Operations
11. 11
• Workflow:
- Use Set variable value activity to store current date and time in a variable.
- Perform specified operations using DateTime functions.
• Operations and Results:
- Log Date: CurrentDateTime.Now; 03/10/2024 03:15:26
- Log Year: CurrentDateTime.Year; 2024
- Log Month: CurrentDateTime.Month; 3.
- Log Day: CurrentDateTime.Day; 10
- Log Day of Week: CurrentDateTime.DayOfWeek; Sunday
- Log Day of Year: CurrentDateTime.DayOfYear; 70
- Add 10 Days: CurrentDateTime.AddDays(10); 03/20/2024 03:15:26.
- Subtract 5 Days: CurrentDateTime.AddDays(-5); 03/05/2024 03:15:26
- Total Days: (DateTime.Parse("10/03/2024") - DateTime.Today).TotalDays; 207 days.
- Add 2 Months and 10 Days: CurrentDateTime.AddMonths(2).AddDays(10); 05/20/2024 03:15:26
Workflow and Results
12. 12
• Requirement:
- Create a variable to store a year.
- Check whether the year is a leap year or not.
• Variable:
- Name: Year
- Data Type: Integer
- Value: 2024
• If Statement Explanation: "If" statement is used to create conditional paths in workflows. It
evaluates a condition and executes different actions based on whether the condition is true or
false.
• Leap Year Condition:
- (Year mod 4 = 0 and Year mod 100 <> 0) or (Year mod 400 = 0)
- Explanation: Checks if the year is divisible by 4 but not by 100, or if it is divisible by 400.
3. Leap Year Check
13. 13
• Workflow:
- Use Set Variable Value activity to store the year to be checked.
- Utilize If activity to create a conditional statement based on the leap year condition.
- Utilize Log Message activity to display Leap or Non-Leap
• If Condition:
- If Condition: Leap Year Condition
• If True:
- Use Log Message activity: "The year: " + Year.ToString + " is a Leap Year"
• Else:
- Use Log Message activity: "The year: " + Year.ToString + " is a Non-Leap Year"
Workflow Overview
14. 14
• Requirements:
- Assign values to a variable named Components of type array of strings.
- Access each component and write the values to Storage Text in the Orchestrator
storage bucket.
• Orchestrator:
- UiPath Orchestrator is a cloud-based centralized management and storage drive
for managing robots.
• Storage Bucket:
- The Orchestrator storage bucket is a secure repository where files can be
centrally stored and managed for automation processes.
• Variable Creation:
- Name: Components
- Data Type: String[]
- Value: {"Studio", "Orchestrator", "Assistant"}
4. Write Values to Text File
15. 15
• a. Set Variable Value:
- Use Set Variable Value activity to store Components in the Components array.
• b. For Each Activity:
- Utilize For Each activity to iterate through each component in the Components
array.
- CurrentItem is auto-generated to hold the current array value in each iteration.
• Inside For Each:
- Use Write Storage Text activity to write each component to Storage Text in the
Orchestrator storage bucket.
- Note: Write Storage Text activity replaces existing text in the file with new values.
Workflow Overview
16. 16
• Requirements:
- Assign multiple values to a variable named TeamMembers of type array of
strings.
- Write the selected index array elements to Orchestrator storage text.
- Write all Array Elements to Storage Text
• Variable Creation:
- Name: TeamMembers
- Data Type: String[]
- Value: {"Abhi", "Bhanu", "Renu", "Sita", "Ram", "Krishna"}
5. Indexed Array Operations
17. 17
• a. Set Variable Value:
- Utilize Set Variable Value activity to store array values in arr_TeamList
• Write Storage Text:
• Writing Specific Elements To Storage Text:
- Select the required array index values.
- Use the following expression to write values to the text file through indexes:
- TeamMembers(0).ToString + Environment.NewLine + TeamMembers(2).ToString + Environment.NewLine +
Teammembers(5).ToString
- Explanation: This code concatenates specific elements of the array TeamMembers into a single string, each
separated by a newline character, accessing elements at indexes 0, 2, and 5.
• Writing all Array Elements to Storage Text:
- Another way to add all array values to storage text is:
• String.Join(Environment.NewLine, TeamMembers)
• Explanation: This code concatenates the elements of the array TeamMembers into a single string,
separated by newline characters.
Workflow Overview