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:

  1. Live Environment – by using the instructions provided below, you can perform the steps in your SAP BTP account.
  2. Platform Simulation – follow the step-by-step instructions within the simulation.
  3. 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

  1. Download the Desktop Agent 3.

    1. 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.

      Screenshot of the interface

    2. The following steps are required if you have not set up your Secret ID yet.

    3. Select Go to RBSC Portal.

      Screenshot of the interface
    4. Select Add User.

      Screenshot of the interface

      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.
    5. Set the name of the user and choose Add user.

      Screenshot of the interface
    6. Confirm with OK.

      Screenshot of the interface
    7. To generate a new Secret ID, choose Generate and then select OK.

      Note the full username as it will be needed later.

      Username: ____________________________________________________

      Screenshot of the interface

    8. When the Secret ID is generated, copy its value and choose OK.

      Screenshot of the interface
    9. Go back to SAP Build, and select the Enter Secret ID button.

      Screenshot of the interface
    10. Set the Name and the Secret ID fields.

    11. Choose Confirm.

      Screenshot of the interface
    12. Choose the Go to Download Page button.

      Screenshot of the interface
    13. Download the file.

      Screenshot of the interface
  2. Manually Download the Desktop Agent 3 (P-Users).

    You will download the setup program from the SAP Development Tools. It is provided in the form of an industry standard Windows MSI installer.

    1. Download the latest version of the MSI file extension

      The MSI version will be updated for every new release. Always download the latest version.

    2. Scroll down to SAP Process Automation: Desktop Agent 3 for Trial.

    3. Select the desktop agent available for your operating system.

      Screenshot of the interface

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

  1. Install the Desktop Agent 3.

    1. Open the downloaded file. Select Next to begin the installation process.

      Screenshot of the interface

      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.
    2. Wait for the installation process to complete.

      Screenshot of the interface
    3. 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).
    4. On Google Chrome, select Manage extensions under Extensions.

      Screenshot of the interface
    5. Enable SAP Build Process Automation extension.

      Screenshot of the interface
    6. Do the same for the Edge extension.

      Screenshot of the interface

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

  1. Register the Desktop Agent on Your Tenant.

    1. After installation is completed and browser extension allowed, open the Download Page and choose Refresh Page.

    2. Once the extension is enabled, you may register your agent to your tenant. Choose Register Agent.

      Screenshot of the interface
    3. The Agent is registered:

      Screenshot of the interface
    4. When the process is completed, open the Desktop Agent 3.

      Screenshot of the interface
    5. Confirm the tenant configuration.

      Screenshot of the interface
    6. The tenant is active.

      Screenshot of the interface
    7. Once you completed the previous actions, log in to your tenant with your user name or e-mail and password.

      Screenshot of the interface
    8. The Agent should be in Idle state, waiting to start a project. To check, go to Control Tower.

      Screenshot of the interface
    9. The following displays:

      Screenshot of the interface
  2. 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:

    FieldValue
    Name<enter a name for your Tenant>
    Domainpaste the URL you copied previously
    1. Navigate to SAP Build lobby. Select Control TowerAgents.

      Screenshot of the interface
    2. Select Register new agent.

      Screenshot of the interface
    3. In the Register New Agent window, select Copy and Close.

      Screenshot of the interface
    4. Select the Desktop Agent 3 icon.

      Screenshot of the interface
    5. Choose Tenants, select the Add Tenant button.

    6. In Add Tenant window, enter the data from the table above.

    7. Choose Save.

      Screenshot of the interface
    8. Select the tenant, choose the three dots and select Activate.

      Screenshot of the interface
    9. When you completed the previous actions, log in to your tenant with your user name or e-mail and password.

      Screenshot of the interface
    10. The Agent should be in Idle state, waiting to start a project. To check, go to Control Tower, and select Agents.

      Screenshot of the interface

Task 4: Create an Environment to Add Your Agent

Steps

  1. Create an environment to add your agent.

    Use the following data:

    FieldValue
    Name<enter a name of your choice for the environment>
    Color<select one of your choice>
    Description<enter a short description of your choice>

    1. Navigate back to Control Tower. Select Environments under Tenant Configuration.

      Screenshot of the interface
    2. Choose Create Environment.

    3. In the Create Environment window enter the data from the table above.

    4. Choose Create.

      Screenshot of the interface
    5. Select the created environment to add your agent in it.

      Screenshot of the interface
    6. Select Agent ManagementAdd Agent.

    7. In the Add Agent window, select your agent and choose Add agent.

      Screenshot of the interface
    8. Your agent is now added and ready to run.

      Screenshot of the interface

Log in to track your progress & complete quizzes