Create a Robotic Process

An Appian RPA robotic process is the result of the integration of all Appian RPA platform components. Powered by code, a robotic process follows steps that are configured in the Appian RPA Console and executes on a specified resource. This page discusses how to create a robotic process in Appian RPA, including some general guidelines and steps in the Console.

What makes a good robotic process?

Robotic processes are intended to supplement human activity in an application. Robotic processes don't possess the judgment that human beings have, so there is some potential for the robotic process to encounter exceptions, or patterns the process doesn't know how to handle. Additionally, the robotic process may take a long time to execute due to application processing time. After all, the applications are designed to handle input from human beings, which is much slower than that of a robotic process.

Because of this behavior, any Appian RPA robotic process must be:

  • Reliable: Whatever the robotic process does, it must be done well. Without this guarantee, the robotic process should not go on. A robotic process that processes important information must always be confident of what it is doing. For example, if the robotic process is not on the window it should be at a given time, data loss could occur. Usually Appian RPA robotic processes, unlike other software, operate directly on production environments, so reliability is a very important feature at all phases.
  • Resumable: Robotic processes must be designed so that a user can stop its execution at a given time and resume it without manual intervention on the execution machine. This feature is especially important for robotic processes that take a long time or process a large number of items. If execution stops, either manually or due to an error, it must be able to be resumed.
  • Traceable: A robotic process must do everything it's supposed to do, and what it does must be reflected somewhere. At least, it must be reflected in the execution log, although its medium can be adjusted for easier reading and interpretation by the developer. If the user wants to access the log, it is advisable to make the information requirements and expectations clear so that a developer can include it the robotic process's code during the development phase.

Creating a robotic process based on one in another environment? Learn how to export and import robotic processes.

As with any business technology, you'll want to consider data security in every part of your engagement with Appian RPA. Visit the Securing Data in Robotic Processes page to learn more about data security in every phase of a robotic process.

Create a robot in the Appian RPA Console

After you've set up your development environment, you're ready to create your first robot. This page demonstrates how to create a robotic process in the Appian RPA Console.

  1. In the Robotic processes menu, click Create robotic process 2235137.png in the toolbar.
  2. Choose a template to start building your robotic process. If you want to start from scratch, select Blank. rpa-pick-template-create.png
  3. Enter these details:
    • Name: Name to identify the robotic process in the console and in our Maven project. This value must be unique and can't be changed.
    • Permissions: Assign permissions to configure security for the robotic process.
    • Group: Location of the Maven project. We use the default value, although it can be modified.
    • Version: Version of the robotic process. As in the previous case, the default value will be used.
    • Repository: Choose the URL used in the Maven configuration and write in the welcome email. rpa-create-process.png
  4. Click OK.
  5. The browser downloads the robotic process code and you're brought to the Robotic process configuration page.

Create a robotic process from a template

Templates give developers a head start when creating new robotic processes. A robotic process template can be configured to use your chosen set of methods, actions, queues, variables, and more to save time and avoid any of these details being overlooked during setup. Appian RPA includes some default templates for common operations, but you can create templates to share within your business or with other developers through the App Market.

To create a robotic process using a template:

  1. Go to the Robotic processes tab in the Appian RPA Console.
  2. Click Templates in the toolbar.
  3. Find a template in the list and click Create a robot in the Actions column.
  4. Enter the details listed above and click OK.

rpa-create-from-template.png

Source code

When you create an Appian RPA robotic process, the source code is downloaded to your computer. In addition, the Maven project will be automatically deployed in the repository.

More on Maven setup.

A zip file with the source code is available. Copy this file into the folder where you will develop the robotic process.

A robotic process's source code uses this structure:

  • Robotic process name (top-level folder)
    • pom.xml (contains robotic process information and configuration details Maven needs to build properly)
    • src
      • main
        • java
          • com
            • appian
              • robot
                • core
                  • template
                    • Template.java

Some templates include more files. Visit the template documentation to learn more about what's included.

The source code looks like this in your computer's file system:

rpa-file-structure.png

Configure the new robotic process

Now you have the new robotic process created in the Appian RPA Console. Next, you'll need to configure the robotic process's workflow and technical details.

See Configuring a Robotic Process to get started.

Execute and monitor the robotic process

Now let's launch the robot. Remember that the resource must be activated for execution to be successful.

  1. Open the Robotic processes tab and you'll see the new robot.
  2. Click Start Execution rpa-execute-icon.png.
  3. Select the appropriate execution options.

    rpa-execution-options-2.png

  4. The agent will download the robotic process and its dependencies to the resource and start the execution.
  5. You can monitor the execution through the Appian RPA Console. rpa-execution-list.png rpa-execution-log.png
  6. When the execution ends, we can check the results. rpa-result-log.png

To learn more about execution options, see Executing a Robotic Process.

Copy a robotic process

To clone a robotic process previously created in the Appian RPA Console, go to the robotic process configuration and click Clone robotic process 2228581.png.

A window appears and asks you for the new robotic process name. By default, it will be the same as the robotic process you are cloning.

rpa-copy-process.png

You can include its executions, thus keeping one robotic process's executions log on its clone. By default, executions will be included. Uncheck the Include executions option to exclude them from the copy.


This version of the Appian RPA documentation was written for Appian 20.4, and does not represent the interfaces or functionality of other Appian versions.
Open in Github Built: Thu, Oct 14, 2021 (02:44:31 PM)

On This Page

FEEDBACK