Generate Yearly Report - 2020.10 Exercise Hints
Generate Yearly Report - 2020.10 Exercise Hints
Generate
Yearly Report
We encourage you to use the two checklists and to identify reusable components.
2.1. Prerequisites
We will adapt the template to work as a REF project without Queue Items. Each transaction
will represent extracting a page on the Work Items Section in System 1, filtering the data for
items of type WI4, and adding resulting Datatable rows to an Orchestrator Queue.
Create a new folder in the Project panel. Name it System1. Inside the folder, develop
sequence-based workflows for each entry in the whiteboard.
In the Settings sheet of Config.xlsx, store the important settings for your project:
Invoke the workflow used to log into System1. Pass the URLs and credential values to the
workflows.
Use a Kill Process activity here to indicate the browser you want to force-close.
Delete the Retry Get Transaction Item activity. Use an Element Exists activity to determine if
there is a page number UI element on the Work Items page equivalent to the current
TransactionNumber value. Make sure If so, assign the TransactionNumber value to
out_TransactionItem. Else, assign 0 to out_TransactionItem.
For the following IF activity, set the condition to out_TransactionItem > 0.
Determine if the browser is on the Work Items page indicated by the TransactionItem. If so,
scrape the data, filter it by type and add the corresponding Queue Items.
3.1. Prerequisites
Make sure the queue indicated in the previous section is available in Orchestrator. Set the
Retry value to 2.
Create a new folder in the Project panel. Name it System1 and use it to organize the new
workflows.
In the Settings sheet of Config.xlsx, store the important settings for your project:
Invoke the workflow used to log into System1. Pass the URLs and credential values to the
workflows.
Use a Kill Process activity here to indicate the browser you want to force-close.
Here, you can invoke the NavigateTo workflow several times with different values for the in
arguments to navigate to all pages of the process: Work Items, Download Monthly Reports,
Upload Yearly Report and Update Work Item. In between, invoke the workflows which
perform the processing steps: GetClientDetails, DownloadMonthlyReports,
MergeMonthlyReports, UploadYearlyReport and UpdateWorkItems. Pay special attention to
the target app states throughout the execution of the Process workflow.