0% found this document useful (0 votes)
34 views5 pages

Calculate Client Security Hash - Exercise Hints

The document provides hints for an exercise on calculating client security hashes. It includes prerequisites of using a DataRow datatype for transactions. It details configuring a UiPath project, developing workflows to interface various applications, and processing transactions by extracting data, calculating hashes, and updating records.

Uploaded by

elskawyahmed1
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)
34 views5 pages

Calculate Client Security Hash - Exercise Hints

The document provides hints for an exercise on calculating client security hashes. It includes prerequisites of using a DataRow datatype for transactions. It details configuring a UiPath project, developing workflows to interface various applications, and processing transactions by extracting data, calculating hashes, and updating records.

Uploaded by

elskawyahmed1
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
You are on page 1/ 5

| Exercise Hints

Calculate Client
Security Hash

Calculate Client Security Hash – Exercise Hints 1


Contents
1. Prerequisites 3
2. Configuration in UiPath Studio 3
2.1. Create a new project 3
2.2. Whiteboard your workflows 3
2.3. Develop your workflows 4
2.4. Edit the Configuration file 4
3. Change the TransactionItem Data Type 4
4. Applications Used: open/close/kill 4
4.1. Edit the InitiAllApplications.xaml workflow 4
4.2. Edit the Framework/CloseAllApplication.xaml workflow 4
4.3. Edit the Framework/KillAllProcesses.xaml workflow 5
5. Business Process: Transaction Data and Process 5
5.1. Edit GetTransactionData.xaml workflow 5
5.2. Edit Process.xaml workflow 5

Calculate Client Security Hash – Exercise Hints 2


1. Prerequisites
The automation will need to process Data Rows for each transaction so the data type for
Transaction Item will be DataRow.

2. Configuration in UiPath Studio

2.1. Create a new project

Create a new project using the Robotic Enterprise Framework template. Set a proper name
for the project. Provide a proper description.

2.2. Whiteboard your workflows

Module Name Description Pre-condition Post-action Arguments


System1_Login Opens a Microsoft Edge N/A Opens Edge in_System1URL -
browser to access System 1 String
System 1 and log in Dashboard if in_System1Credential
using provided credentials - String
credentials are correct.
System1_Close Closes System 1 in System 1 Logs Out and N/A
Microsoft Edge browser Opened, Log Out Closes the
button accessible browser
System1_Navigate Navigates to the WI System 1 is open WI Details in_WIID - string
To_WIDetails Details Page using the at any page opened in_System1_WorkIte
WIID input argument mURL - String
System1_Navigate Navigates to Work Items System 1 Work Items N/A
To_WorkItems Page Dashboard is Page opened
opened
System1_Navigate Navigates to Update System 1 Work Update Work in_WIID - String
To_UpdateWorkIte Work Item Page Items Page is Item Page in_System1_Update
m opened opened WorkItemURL –
String
System1_Extract_ Extracts the entire Table Work Items Page None out_DataTable -
WIsDataTable of all Work Items in the is opened DataTable
output argument
System1_Extract_ Extracts the ClientID, Work Item None out_ClientID - String
ClientInformation ClientName and Details Page is out_ClientName -
ClientCountry and writes opened String
to the output arguments out_ClientCountry -
String
System1_UpdateW Updates the Work Item System 1 Update None in_Comment - String
orkItem to the Status and Work Item Page in_Status - String
Comment using input is opened in_WIID - String
arguments. Status can
be "Open", "Completed"
or "Rejected"
SHA1_Open Opens SHA1 generator None Opens Edge in_SHA1URL - String
from the URL argument SHA1
generator
SHA1_Close Closes SHA1 generator SHA1 generator Closes Edge N/A
Main Page is SHA1
opened generator
SHA1_ProcessHas Retrieves the SHA1 generator None in_HashFormula -
h HashResult based on the is opened String
input HashFormula

Calculate Client Security Hash – Exercise Hints 3


Module Name Description Pre-condition Post-action Arguments
out_HashResult -
String

SendEmail Sends Exception Email None None in_To - String


using Outlook and the in_Subject - String
Input Arguments in_Body - String

2.3. Develop your workflows

Create three new folders in the project folder. Name them System1, SHA1 and Common.
Inside the three folders, develop sequence-based workflows for each application, based on
the process whiteboard. Use the Common folder for SendEmail.xaml.

2.4. Edit the Configuration file

In the Settings sheet of Config.xlsx, store the important settings for your project:

• The URLs for System 1


• The System1 credentials stored in Orchestrator or Windows Credential Manager
• The URL for SHA1 generator
• The Business Process Name
In the Constants sheet, set the MaxRetryNumber to 2.

3. Change the TransactionItem Data Type


In Main, update the datatype for the TransactionItem variable to DataRow. Make the
remaining changes indicated in the REF without Queue Items checklist. You should resolve
all validation errors and update all argument mappings which use TransactionItem.

4. Applications Used: open/close/kill

4.1. Edit the InitiAllApplications.xaml workflow

Invoke the workflows used to log into System 1 and to open the SHA1 generator. Pass the
URLs and credential values to the workflows.

4.2. Edit the Framework/CloseAllApplication.xaml workflow

Calculate Client Security Hash – Exercise Hints 4


Invoke the workflows used to close System 1 and the SHA1 generator.

4.3. Edit the Framework/KillAllProcesses.xaml workflow

Use a Kill Process activity here to indicate the browser you want to force-close.

5. Business Process: Transaction Data and


Process

5.1. Edit GetTransactionData.xaml workflow

Change the data type for the out_TransactionItem argument from QueueItem to
DataRow.and delete the Get Transaction Item activity.
Use an If activity to check if this is the first run of the workflow. Note that
io_dt_TransactionData should be empty only on the first run. If it is the first run, then invoke
the workflows used to navigate to the Work Items page and extract the DataTable.
Filter the DataTable using a Filter Data Table activity or the Select method to keep only the
items with the Type WI5 and the Status ‘Open’. Log the total number of transactions.
Use an If activity to assign the correct value to the Transaction Item if the Transaction
Number is lower or equal to the number of available transactions or assign Nothing to the
TransactionItem if the Transaction Number exceeds the number of available transactions.

5.2. Edit Process.xaml workflow

Set the correct datatype for in_TransactionItem. Invoke the workflows to navigate to the
Work Item Details page, extract client information, process the Hash code, and update the
Work Item.

Calculate Client Security Hash – Exercise Hints 5

You might also like