Preparing the Desktop for Executing the Sales Order Management Automation Using the Desktop Agent
Objective
After completing this lesson, you will be able to prepare the desktop for executing the sales order management automation using the Desktop Agent
Using the Desktop Agent to run Automations
The Desktop Agent is a component that is installed locally on user desktops. It executes automation projects that launch and run applications of various kinds, reads information from screens, enters data, clicks options, and processes data. Automation projects are assigned to tenants running on the Desktop Agent. You can see what your Desktop Agent is always doing thanks to the convenient menu that is always accessible from your computer’s taskbar while your Desktop Agent is ready or active.
When it’s installed, the Desktop Agent is configured to start at Windows logon by default. The Agent can run in the attended or unattended mode. In the attended mode, you start the automations by clicking on them, and in the unattended mode, the automations run automatically without your intervention.
Using the Desktop Agent, you can perform different actions to run and monitor your projects, such as:
Run projects
Manage tenants
Configure the connection settings
Change the agent mode
Monitor the Agent
Collect and manage traces
In this lesson, you will learn how to register the desktop agent and to run your project process.
Download, Install, and Register the Desktop Agent
Business Scenario
Before running the project, we need to ensure that your Desktop Agent is registered in your tenant with Unattended Mode. Follow the instructions for the desktop agent step by step.
The Desktop Agent 3 is an on-premise component of SAP Build Process Automation that is installed locally on user desktops. It executes automation projects that launch and run applications of various kinds, read information from screens, enter data, choose options, and process data.
The very first time you launch the Desktop Agent 3 on replace workstations, you will be prompted to log in. If you are unsure of replace login details, please ask an administrator.
Exercise Options
To carry out this exercise, you can choose from the following options:
Live Environment – by using the instructions provided below, you can perform the steps in your SAP BTP account.
Platform Simulation – follow the step-by-step instructions within the simulation.
Side-by-side: Follow the step-by-step instructions within the simulation and perform the steps in your SAP BTP account simultaneously.
Note
We strongly recommend to perform the steps in the live environment.
Note
In this exercise you will only prepare your desktop environment for execution of automations. You will test the process in the next lesson of the next unit.
Task 1: Download the Desktop Agent 3
Note
If you are a P user, you will have to download the Desktop Agent 3 from the SAP Development Tools. Please choose option Manually. You find the required steps under Step Nr. 2.
Steps
Download the Desktop Agent 3.
You can install the Desktop Agent 3 from SAP Build. Navigate to the Control Tower in SAP Build lobby, choose Agent Update under Agent Configuration.
Follow these steps once and your Desktop Agent 3 will be regularly updated to the latest version.
The following steps are required if you have not set up your Secret ID yet.
Select Go to RBSC Portal.
Select Add User.
Note
Please make sure you assign the ProcessAutomationAdmin role when you subscribe to SAP Build Process Automation in your BTP account. If you do not do so, you will not be able to add a user.
Set the name of the user and choose Add user.
Confirm with OK.
To generate a new Secret ID, choose Generate and then select OK.
Note the full username as it will be needed later.
The MSI version will be updated for every new release. Always download the latest version.
Scroll down to SAP Process Automation: Desktop Agent 3 for Trial.
Select the desktop agent available for your operating system.
Task 2: Install the Desktop Agent 3
When you install the Desktop Agent 3, it will automatically set up the SAP Build Process Automation web browser extension for Google Chrome and Edge.
Note
To prevent issues during the installation, close all the Chrome or Edge tabs opened on your machine.
Note
The minimum version of the Desktop Agent supported by SAP Build Process Automation is 3.7.41.
Steps
Install the Desktop Agent 3.
Open the downloaded file. Select Next to begin the installation process.
Note
You can open the file with administrator rights, and install the service, only if your use case requires it. For example, using the agent in unattended mode in production. It is not required for following the tutorials.
Wait for the installation process to complete.
When the installation is successfully completed, choose Finish and launch the Desktop Agent 3.
Note
A Google Chrome extension and an Edge add-on are installed when you install the Desktop Agent but you have to enable them (at least the Google Chrome extension).
On Google Chrome, select Manage extensions under Extensions.
Enable SAP Build Process Automation extension.
Do the same for the Edge extension.
Task 3: Register the Desktop Agent on Your Tenant
As in the first task, the step two describes the substeps, you should perform as a p-user. All other users shall perform the substeps under step 1.
Once the installation steps of the SAP Build Process Automation setup wizard are completed, you need to register your agent and connect it to a SAP Build Process Automation tenant in order to execute automations.
Note
The Agent icon will be available on your System Tray, when the Desktop Agent 3 is installed.
Steps
Register the Desktop Agent on Your Tenant.
After installation is completed and browser extension allowed, open the Download Page and choose Refresh Page.
Once the extension is enabled, you may register your agent to your tenant. Choose Register Agent.
The Agent is registered:
When the process is completed, open the Desktop Agent 3.
Confirm the tenant configuration.
The tenant is active.
Once you completed the previous actions, log in to your tenant with your user name or e-mail and password.
The Agent should be in Idle state, waiting to start a project. To check, go to Control Tower.
The following displays:
Register the Desktop Agent on Your Tenant (p-user).
Once the installation steps of the SAP Build Process Automation setup wizard are completed, you need to register your agent and connect it to a SAP Build Process Automation tenant in order to execute automations.
Note
The Agent icon will be available on your System Tray, when the Desktop Agent 3 is installed.
Use the following data:
Field
Value
Name
<enter a name for your Tenant>
Domain
paste the URL you copied previously
Navigate to SAP Build lobby. Select Control Tower → Agents.
Select Register new agent.
In the Register New Agent window, select Copy and Close.
Select the Desktop Agent 3 icon.
Choose Tenants, select the Add Tenant button.
In Add Tenant window, enter the data from the table above.
Choose Save.
Select the tenant, choose the three dots and select Activate.
When you completed the previous actions, log in to your tenant with your user name or e-mail and password.
The Agent should be in Idle state, waiting to start a project. To check, go to Control Tower, and select Agents.
Task 4: Create an Environment to Add Your Agent
Steps
Create an environment to add your agent.
Use the following data:
Field
Value
Name
<enter a name of your choice for the environment>
Color
<select one of your choice>
Description
<enter a short description of your choice>
Navigate back to Control Tower. Select Environments under Tenant Configuration.
Choose Create Environment.
In the Create Environment window enter the data from the table above.
Choose Create.
Select the created environment to add your agent in it.
Select Agent Management → Add Agent.
In the Add Agent window, select your agent and choose Add agent.