Description
USE CASE 1
Enhanced Use Case: Shopping List with Discount and Tax Calculation
Objective:
Create a workflow that calculates the total cost of items in a shopping list, applying discounts and taxes to each item based on specific conditions. The workflow should use different types of variables.
Use only single Variable to store all values
Input:
Shopping List: A list of items with their respective quantities, unit prices, discount rates, and applicable tax percentages.
Example
Apples: 3 units, $2 per unit, 10% discount, 5% tax
Bananas: 2 units, $1.5 per unit, 5% discount, 8% tax
Oranges: 5 units, $3 per unit, 0% discount, 7% tax
Expected Output
The workflow will display:
Total Cost Before Tax: This includes the cost after applying discounts but before adding taxes.
Total Cost After Tax: The final amount including taxes.
For the provided example:
Apples: $2/unit, 10% discount => $1.8/unit, 3 units => $5.4; Tax (5%) => $5.4 + $0.27 = $5.67
Bananas: $1.5/unit, 5% discount => $1.425/unit, 2 units => $2.85; Tax (8%) => $2.85 + $0.228 = $3.078
Oranges: $3/unit, No discount => $3/unit, 5 units => $15; Tax (7%) => $15 + $1.05 = $16.05
Total Cost Before Tax: $23.25 (5.4 + 2.85 + 15)
Total Cost After Tax: $24.798 (5.67 + 3.078 + 16.05)
USE CASE 2
Enhanced Use Case: Shopping List with Discount and Tax Calculation
Objective:
To create an automation workflow that reads data from a text file and extracts the last instance of a 10-digit account number prefixed with "AccountNumber:"which can be case sensitive too
This workflow should accurately identify and retrieve the specified account number pattern, ensuring it handles various text scenarios, and display the extracted number using a message box
Input:
Link
Date
2024-09-16
Related UiPath products
Studio