Robots

The Robots section lists robots uploaded to the Management Console repository and helps you manage robots in the repository on a per project basis.

To run in a schedule, robots need to be uploaded to the Management Console repository from Design Studio using the Upload function or directly from Management Console using the "Upload a robot" button. When the robot is uploaded, it is copied into the repository. Thus, if changes are later made to the robot in Design Studio, it needs to be uploaded again. Schedules that the robot is associated with will use the new version of the robot the next time they run.

Each robot belongs to a project. Within a given project, you cannot have two different robots with the same name in the repository. Different projects can contain robots with the same name. In Design Studio, you can assign tags to your robots that can be the same and can be used to filter the list in Management Console.

At the top of the Robots section, in the Projects drop-down list, you can select the project with robots to display. You can change the way the information for each robot is presented as follows:

  • Filter the list of robots in the table by typing a robot name or a tag name in the Filter text field. See Filtering for more information.
  • Select the table columns to display for a robot using the menu icon on the right.
  • Refresh the displayed information by clicking the refresh icon on the right.

By default, the following table columns are displayed for each robot.

Column

Description

Folder

Name of the folder specified to store the robot files. By default, the files are stored in the Root folder. You can create a new folder to store the files, and the folder name must be unique. The folder name is displayed in the column if the selected folder is other than Root. Folders are also shown as part of the robot name in the robot runs log in the Log view. When deleting a robot, you can delete an empty folder.

Name

Name of the robot. If the robot uses a type or a snippet that is not present in the repository, the name is marked in red.

Type

Types associated with the robot.

Project name

Name of the project that the robot belongs to (useful when viewing all projects).

Tags

Tags assigned to the robot.

Version

Kofax RPA version last used when editing the robot.

Size

Size of the robot in bytes.

Schedules

Names of the schedules that run the robot.

Input types

Types used in input variables in the robot. To execute the robot, .type files corresponding to each of these types must be present.

Returned types

Types of values returned by the robot. When executing the robot through the API, it may return values of these types. To execute the robot, .type files corresponding to each of these types must be present.

Stored types

Types of values stored in a database by the robot. To execute the robot, .type files corresponding to each of these types must be present.

Triggers

Trigger names the robot is mapped to.

Labels

Label names the robot is mapped to.

Snippets used

Names of the snippets used by this robot. If a robot uses snippet A and snippet A uses snippet B, only snippet A is listed here.

Mappings

Shows robot user and label mappings.

Last modified

Date of the most recent modification of the robot.

Imported by

User name of the user who imported the robot that is part of the imported project or restored backup.

Imported at

Date of the importing of the robot that is part of the imported project or restored backup.

Optional Columns

Robot ID

Automatically generated ID of the robot.

Created by

User name of the user who first uploaded the robot.

Modified by

User name of the user who last modified the robot.

Commit message

Summary describing the commit.

Revision number

Number of the robot revision.

Upload Robot

  1. To add a robot to the Management Console, click the plus sign in the upper left corner.

    The "Upload Robot file" dialog box appears.

    An alternative way of uploading a robot is to use the Upload function in Design Studio. This works in exactly the same way, except that Design Studio also uploads the necessary types and snippets. If your Management Console repository contains multiple projects, you are prompted to choose the project to upload the robot.

  2. Click the paper clip sign to select a robot file to upload, select the file on your computer, and then click Open.

    • If you are uploading a robot with the same name as an existing one, select Override if exists to replace the existing robot.

    • Select the folder to upload the robot. By default, all files are stored in the Root folder.

    • In the Commit message field, you may add a description for the commit.

  3. Click Submit.

    The robot appears in the table.

    Once a robot is uploaded to Management Console, it can be executed in several different ways: Directly using the "Run now" option, as part of a schedule, through the Java/.NET API or as REST services. See "Actions on Robots" below.

    To execute a robot as part of a Kapplet, see Kapplets.

Actions on Robots

When you click the context menu for a robot, the following actions are listed:

  • Run now: Starts immediate execution of the robot on RoboServer. This feature is not available for robots that take input.
  • Set folder: Adds the selected robot to a folder in the Management Console.
  • Create schedule: Opens a wizard for schedule creation. If any robot added this way requires input, you need to add it later.
  • API: Opens a window with a sample Java or C# code for executing the robot on RoboServer.
  • REST: Opens a window that enables you to invoke the robot as a REST service.
    Note When you start a robot through the Java/.NET API or as a REST service and a Management Console does not have enough slots to run it, a message appears that no slots are available. The robot is not queued. Therefore, when you start a robot using API, create a way to schedule robots such that they can always run when enough slots are available. For example, you can keep a count of the number of running robots and start a new robot only when enough slots are available, or you can have loops that attempt to run a robot and if the lack of slots prevents it from running, the loop should wait and try again.
  • SOAP: Opens a window that enables you to invoke the robot with SOAP.
  • Add/edit password access for robot: Opens a dialog box where you can create or edit the access token for a robot. The token corresponds to the particular version of a robot. Here, you can also edit a description of the token and assign a password entry to the token from the list of available password entries. You can assign password entries to the token directly on the Password entries tab in the Password store.
  • Get resource access token: Opens a dialog box where you can copy the access token for this robot. For example, you can use this access token to allow the robot access to the Password store or Robot File System.
  • Map to user: Available for robots with triggers in a Desktop Automation robot. Enables you to select a user to map the robot to.
  • Map to label: Enables you to select a label to map the robot to. You can type a new label here or select an existing one.
  • Suspend triggers: Available for robots with triggers in a Desktop Automation robot. Click to disable triggers in the robot.
  • Activate triggers: Available for robots with triggers in a Desktop Automation robot. Click to enable triggers in the suspended robot.
  • Download: Downloads a copy of the robot from the repository and saves it to your file system.
  • View robot runs: Shows logged information on the robot runs as also appears in the Log view.
  • View robot errors: Shows logged information on the robot errors as also appears in the Log view.

To remove a robot from the repository, select it in the table and click the bin icon in the upper left corner. You are prompted to confirm the deletion. The robot is automatically removed from any schedules used to run it. If you do not have a copy of the robot in the file system, it is irrevocably lost.