KM-01 — LESSON 2 (EXPANDED)
Lesson Title:
Background on Robotic Process Automation (RPA)
Lesson Outcomes
By the end of this lesson, learners will be able to:
- Understand the basics of programming in relation to RPA
- Explain the importance of choosing a programming language
- Describe basic programming concepts such as syntax
- Explain how code is learned and applied
- Understand installation and setup processes for development environments
1. Choosing a Programming Language
A programming language is a set of instructions used to communicate with a computer and develop software solutions.
In RPA, programming is important because:
- Bots are built using logic and instructions
- Automation workflows depend on structured coding principles
- Developers need to understand how systems behave
Factors to Consider When Choosing a Programming Language
- Ease of learning (e.g., Python is beginner-friendly)
- Compatibility with RPA tools (e.g., UiPath uses .NET/C#)
- Community support
- Use case (web, desktop, data processing)
👉 Example:
-
Python → Data automation
-
C# / .NET → Enterprise RPA tools
2. Understanding Syntax
Syntax refers to the rules that define how code must be written in a programming language.
Just like grammar in English:
-
Incorrect grammar → sentence doesn’t make sense
-
Incorrect syntax → program won’t run
Example:
Correct syntax (Python):
print("Hello World")
Incorrect syntax:
print "Hello World"
👉 Even a small mistake can cause errors, which is why precision is important.
3. Learning Code
Learning to code involves understanding:
- Logic (how problems are solved step-by-step)
- Structure (how code is organised)
- Practice (writing and testing code repeatedly)
Ways to Learn Coding:
- Online platforms (tutorials, coding environments)
- Practice exercises
- Real-world problem solving
- Building small projects
👉 In RPA:
You don’t always write full code, but you must understand:
- Logic
- Conditions
- Workflows
4. Installation and Setup
Before developing RPA solutions, the working environment must be set up.
Typical Setup Includes:
- Installing an RPA tool (e.g., UiPath, Automation Anywhere)
- Setting up development environments
- Configuring system requirements
- Connecting to applications and databases
Why Setup is Important
- Ensures tools work correctly
- Prevents errors during development
- Enables smooth deployment of bots
5. Programming in the Context of RPA
Even though RPA tools are often low-code or no-code, programming knowledge is still important.
Why?
- Helps understand workflows
- Improves debugging skills
- Enables advanced automation
- Allows integration with other systems
👉 Example:
- Using conditions (IF statements)
- Looping through data
- Handling errors
6. Benefits of Programming Knowledge in RPA
- Better problem-solving
- More efficient bot development
- Ability to customise automation
- Easier troubleshooting and maintenance
Key Takeaways
- Programming is the foundation of RPA development
- Syntax defines how code must be written
- Learning code requires logic, practice, and consistency
- Proper installation and setup are essential
- Even in low-code environments, programming knowledge is valuable
End of Lesson Insight
Think of programming as the language you use to instruct bots.
Without understanding it:
- You can use tools
But with understanding it: - You can control, optimise, and build powerful automation systems