Hello World Robot Template
This content applies solely to Appian RPA, which must be purchased separately from the Appian base platform.

The Hello World template details how to create a robotic process that will open a text editor, type some text, and then close the text editor. This template introduces some of the methods referenced in the basic template; however, in this template, you will also learn how to have your robotic process interact with the keyboard.

When you use a template to create your robotic process, you are provided with a zip file containing your source code and a pre-built workflow in the robotic process configuration page. This page explains the contents of the workflow and the source code generated by the template.



The Hello World template's workflow contains six actions: Start, Open notepad, Process item, More items?, Close notepad, and End. Similar to an Appian process model, each workflow has a start and end action.

The rest of the actions are related to processing items. An item is a single element to be evaluated by the robotic process. Depending on the nature of your robotic processes, an item could be a person, an ID, a bank account, an invoice, a job identifier, etc. In this template, the item is sample text and the robotic process will process the item by typing the sample text in a text editor.

It's common for a robotic process to iterate over many items. For example, processing several employees, IDs, or bank accounts. To ensure each item has been processed, the workflow includes a loop. Loops utilize conditional actions to determine when all available items have been processed.

If you click the list icon 951644.png on any action, you'll see it is associated with a method. These methods are in the source code generated from the template. Within the source code, Appian has provided an outline of how you can configure each method.

Source code

The source code contains a class named MyRobot that implements the IRobot interface and is annotated with @Robot. Every Appian RPA robotic process must have the IRobot interface and @Robot annotation to allow the Appian RPA API to identify the class as a robot.

Open in Github Built: Fri, May 20, 2022 (01:29:28 AM)

On This Page