Giter Site home page Giter Site logo

shonharsh / rpadev-s07p02-statemachines-windowslegacy Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 80 KB

This project is my solution in Windows Legacy (Deprecated), C# to the State Machines practice found in section 07 practice 02 of the UiPath - RPA Developer Foundation course.

License: MIT License

C# 100.00%
academic academy artificial-intelligence atom automation config csharp education git guide learning markdown process robot rpa studio training-materials trending uipath windows

rpadev-s07p02-statemachines-windowslegacy's Introduction

S07P02 State Machines

This project is my solution in Windows Legacy (Deprecated), C# to the State Machines practice found in section 07 practice 02 of the UiPath - RPA Developer Foundation course.

Getting Started

After making a pull request or downloading the project, open the Main.xaml in UiPath Studio. The robot can be run with the play button in the ribbon and the result can be seen in output panel.

Practice Requirements

The Vending Machine

Create a workflow that simulates a vending machine. The functionality should be the following:

  • The user is asked to choose the initial credit ($5, $10, $20) and to choose if he/she wants to proceed or if they changed their mind and want to get the change;
  • If they want to continue: They are asked what drink they want: Coffee ($3) or Tea ($2).

Next, the vending machine should check if the user has enough credit for selected drink. If Yes, display a success message and subtract the price of the drink from the total amount.

The user is then asked if he/she wants to buy another drink or to get the change.

If they want to get the change, a message box is displayed with the value of the change to be given to the customer.

Details

Course: UiPath - RPA Developer Foundation

Section: 07 Project Organization

Practice: 02 State Machines

Project Format: Windows Legacy (Deprecated), C#

GitHub: https://github.com/ShonHarsh/RPADev-S07P02-StateMachines-WindowsLegacy

Sample Output

09/28/2021 16:37:51 => [Debug] Execution started for project: RPADev-S07P02-StateMachines
09/28/2021 16:37:53 => [Info] RPADev-S07P02-StateMachines execution started
09/28/2021 16:38:08 => [Debug] Dispensing a cold Cheerwine below.
09/28/2021 16:38:13 => [Debug] Dispensing a cold Dr. Pepper below.
09/28/2021 16:38:18 => [Debug] Transaction completed.  Depositing $5 in change [likely pennies].
09/28/2021 16:38:18 => [Info] RPADev-S07P02-StateMachines execution ended in: 00:00:24

Architecture Requirements

A standard UiPath, Studio to Orchestrator cloud setup is the base of operation. It is easy to setup and free.

  1. An Orchestrator connection - Visit https://cloud.uipath.com/ and authenticate or sign up.
  2. UiPath Studio is used to run the robot. Note that Studio Web can be used directly in Orchestrator but I recommend installing the Studio IDE application.

UiPath Setup Guide

Git Notes

Clone the project to develop or change it.

git clone https://github.com/ShonHarsh/RPADev-S07P02-StateMachines-WindowsLegacy

Links

RPS Developer Foundation Sections

  1. Get Started With RPA Development

  2. Variables, Data Types And Control Flow In Studio

    P01 RPADev-S02P01-ForEachIfStatement [C#] [VB] [Windows Legacy]

    P02 RPADev-S02P02-GenericValue [C#] [VB] [Windows Legacy]

    P03 RPADev-S02P03-Switch [C#] [VB] [Windows Legacy]

  3. Data Manipulation In Studio

    P01 RPADev-S03P01-Lists [C#] [VB] [Windows Legacy]

    P02 RPADev-S03P03-Dictionaries-Integers [C#] [VB] [Windows Legacy]

    P03 RPADev-S03P04-Dictionaries-Doubles [C#] [VB] [Windows Legacy]

    P04 RPADev-S03P05-InputValidation [C#] [VB] [Windows Legacy]

    P05 RPADev-S03P06-ReplacingPlaceholders [C#] [VB] [Windows Legacy]

    P06 RPADev-S03P07-ExtractEmailAddress [C#] [VB] [Windows Legacy]

    P07 RPADev-S03P08-ExtractEmailAddressRegEx [C#] [VB] [Windows Legacy]

  4. Excel And Data Tables With Studio

    P01 RPADev-S04P01-CalculatingSums [C#] [VB] [Windows Legacy]

    P02 RPADev-S04P02-CalculatingLossInvoices [C#] [VB] [Windows Legacy]

    P03 RPADev-S04P03-CalculatingPercentagesOfExpenses [C#] [VB] [Windows Legacy]

  5. UI Automation With Studio

    P01 RPADev-S05P01-PasswordGenerator [C#] [VB] [Windows Legacy]

    P02 RPADev-S05P02-TheRPAChallenge [C#] [VB] [Windows Legacy]

    P03 RPADev-S05P03-InputActions [C#] [VB] [Windows Legacy]

    P04 RPADev-S05P04-OutputActions [C#] [VB] [Windows Legacy]

    P05 RPADev-S05P05-DataScraping [C#] [VB] [Windows Legacy]

  6. Selectors In Studio

    P01 RPADev-S06P01-GetAndSortData [C#] [VB] [Windows Legacy]

    P02 RPADev-S06P02-SetData [C#] [VB] [Windows Legacy]

    P03 RPADev-S06P03-Highlight-TypeItems [C#] [VB] [Windows Legacy]

  7. Project Organization In Studio

    P02 RPADev-S07P02-StateMachines [C#] [VB] [Windows Legacy]

    P03 RPADev-S07P03-FixMyWorkflow [C#] [VB] [Windows Legacy]

    P04 RPADev-S07P04-Libraries

  8. Error And Exception Handling In Studio

  9. Debugging In Studio

  10. PDF Automation In Studio

  11. Email Automation With Studio

  12. Orchestrator For RPA Developers

  13. Robotic Enterprise Framework Overview

rpadev-s07p02-statemachines-windowslegacy's People

Contributors

shonharsh avatar

Stargazers

InterfaceDivision-Shon avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.