Product Information
Changes moving from Intelligent RPA to SAP Process Automation
If you have been using SAP Intelligent Robotic Process Automation (Intelligent RPA) before and are now switching to SAP Process Automation, there are some user interface and usability changes that I want to make you aware of in this short blog post. I follow a step-by-step approach, from how I setup my Desktop Agent with SAP Process Automation to running the first bot.
General information on SAP Process Automation
SAP Process Automation general help pages: SAP Process Automation – SAP Help Portal
SAP Process Automation “Using SAP Process Automation” help pages: Using SAP Process Automation – SAP Help Portal
Import your Intelligent RPA projects into SAP Process Automation
My colleague Peter Engel has written a great blog post tutorial on this topic. Please have a look here.
Registering the Desktop Agent
- Open “Settings” Menu
- Open “Agents List”
- Click on “Register New Agent”, copy the link there and insert it into your Desktop Agent (“…” or “More Actions” menu -> “Tenants” -> “Add” -> Choose name and insert copied link under “Domain”, save and then “Activate” this newly added tenant
- If SAP Process Automation is correctly added as tenant in the Desktop Agent, your Desktop Agent should show up in this list
Registering the Desktop Agent with SAP Process Automation
Deploying a bot
Under “Lobby”, all imported bot projects can be found. Before a project can be run, it needs to be deployed. To deploy a bot, open a bot project by clicking on its list entry.
- Open the “Lobby”
- Click on bot list entry in the lobby, here via example of the “Excel Report Refresh bot”. A new tab with the Application Development interface will open.
- (a) If the green “Deployed” info shows up, the bot is already deployed, skip “Deploying a bot”.
- (b) If bot has not been deployed, click on “Deploy”. The “Deploy a bot” window will open.
- In the “Deploy a bot” window, you can just deploy the bot and create a trigger later (I will show how to), or you can directly create a trigger when deploying the bot. Click on “Confirm” and then “Deploy” to deploy the bot. You can close the Application Development tab afterwards and return to the SAP Process Automation Lobby.
Lobby
SAP Process Automation Lobby
Bot Application Development
SAP Process Automation Application Development
Deploying a bot
Adding a trigger to a deployed bot
- Open the “Monitor” tab
- Open “Manage/Automations”. Here, triggers can be added for all bots that have been deployed.
- Clicking on “Add Trigger” will open a new window
- Select the deployed bot package for which you want to create a trigger
- Click on next -> The following trigger creation windows will be known to you from Intelligent RPA. After filling them as before, add the trigger.
- The trigger will appear in the trigger list and can be run from there using the “…” menu and “Run Now” as before. However, I was not able to immediately run it as no agent was connected – see next point.
Manage Automations
Adding new trigger
Creating a trigger
Adding agent to the Agents Management
In SAP Process Automation, no environments are available at the time of writing like in Intelligent RPA that agents have to be added to. You can interpret your whole SAP Process Automation tenant as one environment currently. The agent needs to be added to “Agent Management” to execute triggers.
- Open “Settings”
- Open “Agents/Agent Management”
- Click on “Add Agent” and add your agent.
- Your agent should appear in this list now.
After that, I was able to start the previously created trigger and the job was running on my machine via the registered agent.
Agents Management
Agents Management
Be aware!
As there are currently no environments in SAP Process Automation, triggers will execute on all registered agents. To make triggers only work for a specific set of agents, you can employ “Agent Attributes”.
Agent Attributes
Via agent attributes, triggers or bots can be defined to run on a particular set of agents depending on their set attributes. Follow below example:
To add attributes for agents, they first need to be defined. To define attributes:
- Open “Settings”
- Open “Agents/ Agent Attributes”
- Click on “Create Attribute” and define one. Here, I defined the attribute “Felix Test Attribute”, chose to have a “predefined” one that can only take the values “Felix” or “Not Felix”. Via those values, I will now define my Desktop Agent as belonging to “Felix” and defining the trigger I created earlier to only run for Desktop Agents with the attribute “Felix.
Tipp: Use a more general, free attribute like “user” where every user can enter their name for their own machine. - To set the attribute for my agent
- Open “Settings”
- Open “Agents/ Agents List”
- Click on “…” of your agent and choose “Manage Attributes”. In the new window, I chose my attribute I defined earlier, “Felix Test Attribute” and set its value to “Felix”.
- Defining the trigger to only run on Desktop Agents with specific attributes
- Go back to the trigger menu by opening “Monitor”
- Open “Manage/ Automations”
- Choose your trigger from the list
- Open its menu via “…” and click “Edit”
- Trigger menu settings
- Open the submenu “Distribution”
- Choose “Agents matching attributes”
- Select the attribute and value that will determine on which agents this trigger will run
- Update the trigger.
Now, this trigger is set to only start the bot on Desktop Agents that have the attribute “Felix Test Attribute” set to “Felix. The trigger in the list should now show that one agent matches the attribute description. (see last screenshot)
Defining agent attributes
Defining the agent attribute
Setting attributes for my agent
Assigning the attribute to my agent
Assigning the attribute to my agent 2
Defining trigger to only run on Desktop Agents with specific attributes
Editing the trigger
Trigger menu settings
Trigger attribute settings
Trigger attribute matching agent attribute
Trigger matching one agent