|This content applies solely to Appian RPA, which must be purchased separately from the Appian base platform.|
If your robotic process will need to capture images or search for existing images on a screen, you will use the Falcon module to configure your process. To get started, the Image Recognition template provides beginner level steps on using the Falcon module. This template details how to search and click on an image defined in your support files.
When you use a template to create a robotic process, you are provided with a zip file containing your source code and a pre-built workflow in the robotic process configuration page. Within the source code of this template, the robotic process references a sample image. For the robotic process to locate this image, you will need to use the support image creation tool from the Appian RPA agent to capture the sample image.
The following page explains the contents of the Falcon template workflow and the source code generated by the template.
For the robotic process to locate the sample image referenced in this template, you will need to use the support image creation tool to capture a screenshot of an image on your resource.
The template comes with the image
test.png attached, which is an image of the Firefox icon. Before making changes to the template code, you can capture your own image instead of using the Firefox icon.
To create a support image on your resource:
testas the name of your image.
The Image Recognition template's workflow includes two actions: Locate image and Send screenshot. The Locate image action is where most of the configuration will occur.
If you click the list icon 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.
Within the downloaded ZIP file, you will see the file
The RobotFalconTemplate class implements the IRobot interface and is annotated by @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.
On This Page