Resources
This content applies solely to Appian RPA, which must be purchased separately from the Appian base platform.

What is a resource?

A digital worker needs a workspace, just like a human worker does. The resource is the environment in which the digital worker completes the robotic process. A resource can be on a physical machine, such as a separate computer, or a virtual machine on a cloud server. More specifically, the resource is the OS user that's logged in at the time of the robotic process execution.

To start an execution, the resource needs certain data or information from the server. The resource communicates with the server through an agent, which is a file you install on the resource. Agents are required to be up and running for robotic processes to execute properly and communicate the results back to the console.

This page describes the Resources tab in the Appian RPA console, which you'll use to setup and monitor resources.

Add a resource

Required role: Administrator

Create a resource for each physical or virtual machine (VM) that will run robotic processes. Every resource has a corresponding agent, which can only be used on one machine.

Multiple resources can map to the same machine. For example, if you connect your personal computer to both your development and staging environments for testing purposes, you will create two resources.

Avoid trying to run multiple robotic processes on the same machine at the same time because they will likely conflict with each other.

When running your robotic processes in a production environment, we recommend using a dedicated machine, whether that be a provisioned virtual machine (VM) or physical machine, as the resource.

To add a resource:

  1. On the Resources tab, click the Add resource icon rpa-add-icon.png. The Resource definition editor page displays.
  2. Configure the following fields:
    • Name: Editable name for the resource that is shown throughout the console.
    • Operating system: Choose the resource's operating system: Windows, Linux, or Mac.
    • JRE path (%JAVA_HOME%): Optional field to specify where Java is installed on the resource.
    • Permissions: Assign or edit permissions for the resource. A resource must have permissions in common with any robotic process you want to use the resource.
  3. Click Save. The Resource detail page for the new resource displays.
  4. Configure resource parameters.

To execute a robotic process on a new resource, remember to install the agent. The agent is also required to communicate other information between Appian and the resource, such as the resource's status.

Be sure to add the resources to your Appian environment's firewall allow list, if applicable. The robotic process may not be able to execute successfully if the firewall blocks communication between the agent, resource, and server.

Using a virtual machine resource

You can use a VM as a resource to run robotic processes. By default, VMs may timeout and become unavailable after a period of inactivity. To ensure the resource remains available, you may want to complete additional configuration when creating a VM resource.

Microsoft Remote Desktop users can configure the following to prevent VM resources from timing out:

  • Configure Set time limit for disconnected sessions to Never. See Microsoft Help for instructions.
  • Keep Microsoft Remote Desktop running. If you need to end the session:
    1. Go to the resource window.
    2. Open the Start menu.
    3. Select Disconnect.

Additionally, ensure that the agent you have downloaded on the resource has administrator privileges to allow them to unblock sessions as needed.

View the list of resources

Required role: Any

The List of resources contains all resources available to you. Click a resource to view its details.

rpa-resources.png

The resources are listed in alphabetical order in a grid with the following information:

Status

For each resource in the list, you'll see a status to indicate what the resource is currently doing.

Status Description
Online Resource is online and ready to run a robotic process.
Standby Resource is ready to run a robotic process.
Running Resource is online and busy running a robotic process.
Recording Resource is online and busy recording interactions.
Offline Resource is offline and can't run a robotic process. Run the robotic process on your local host machine or allow Appian to sign in to the resource automatically.
Disabled This resource has been disabled, so it can't run robotic processes. Enable the resource to run a robotic process.
Concurrence The resource is using an agent that's been installed and launched in more than one place. Disconnect one agent and allow Appian to sign in to the resource automatically.
Blocked Keys There is an issue with the keys on the resource. A robotic process can run, but may produce unexpected results. To fix the issue, run a robotic process to release the keys, or restart the user session.
Outdated The agent is updating or failed to update. Check back soon. If still outdated, manually reinstall and launch the agent.

What you can do on the list of resources

You can perform several actions from the list of resources. Available actions depend on the resource's connectivity and status.

Additional actions are available from the Resource details page.

Icon Description
951066.png Disables a resource
951067.png Enables a resource
2229123.png Removes the user session currently associated with the resource. This action is useful when the user session doesn't exist anymore, but the console hasn't refreshed.
2229048.png Allows you to assign permissions to the resource.

Assign permissions to a resource

Required role: Developer or Administrator

RPA components rely on shared permissions for security. Users, robotic processes, and resources must have tags in common to see and interact with each other. To assign or edit permissions for a resource, see Assign or Edit Permissions.

Looking to edit permissions for multiple resources? Save time by modifying resource permissions in bulk.

View resource details

Required role: Any

On the Resource detail page, you can find:

  • information related to the machine where the agent is running.
  • information related to the agent itself.

rpa-resource-detail.png

  • Last communication:
    • Agent: last time the agent connected with the console.
    • Console: last time the console connected with the agent.
  • Identifier: Unique identifier for the resource.
  • Version (revision): Version of the agent on the resource and the internal build number.
  • Name: Editable name of the resource that will be shown throughout the console instead of the identifier.
  • Agent with elevated privileges: When checked, the resource is running with administrator privileges.
  • Execute with block: When checked, the resource can execute robots in a blocked session unblocking it previously.
  • Screen saver: When checked, robotic processes can work with the screen saver enabled.
  • Screen blocked: When checked, the session is currently locked.
  • Input blocked: When checked, the keyboard and mouse input are locked for the user in the resource, but not for robotic processes. This is a security measure to avoid problems in machines not dedicated exclusively to robotic processes. You can also enable this option through the console or the SDK.
  • Blocked keys: When checked, an issue related to the keyboard is detected. For example, any key held down.
  • Local plugins: When checked, execution of local plugins is enabled. Plugins are fragments of code than can be executed without connection with the console (for instance, to use a VPN to gain access to the console itself).
  • Reserved memory: Reserved memory status of the JVM for the agent.
  • Generate event if % >: When checked, an event "resource_LIMIT_MEMORY" is generated when the memory percentage is over the maximum specified.
  • Screen resolution: Screen dimensions on the image representing your monitor.
  • Available disk space: Available disk space status on the computer.
  • Generate event if % <: When checked, an event "resource_LOW_FREE_HARD_DISK_SPACE" is generated when the free disk space percentage is under the minimum specified.
  • Java version: Java version used by the agent.
  • Processors: Number of available processors on the resource.
  • Operating System: Name and version of the operating system on the resource.
  • User session: Session identifier used by a resource with elevated privileges to unlock the session.
  • Current folder: Current folder where the agent is located.
  • Temporary folder: Temporary folder for the user who launched the agent.
  • IP addresses: IP addresses assigned to the resource (can be several due to the existence of different net interfaces).
  • Remarks: Additional information about the resource or the agent.

What you can do from the resource details page

Different actions are available in the toolbar of the Resource details page, depending on the resource's status.

Icon Action Description
951068.png Download the agent Downloads the agent file associated with this resource.
951070.png Launch the remote-control screen Available only for Online resources.
951071.png Disable the agent's local plugins Available only if the agent contains enabled plugins.
951072.png Enable the agent's local plugins Available only if the agent contains disabled plugins.
951073.png Lock input from the resource's keyboard and mouse Available only for Online resources. The agent must be installed on the resource using an administrator profile.
951074.png Unlock input from the resource's keyboard and mouse Available only for Online resources. The agent must be installed on the resource using an administrator profile.
951075.png Send an agent for remote debugging A new agent is downloaded on the resource, specifically designed for debugging remotely when you cannot debug directly on the port involved.
951076.png Execute the agent for remote debugging Launch the agent to begin remote debugging.
951077.png Stop the agent from remotely debugging Only on the resource under remote debugging.
951078.png Execute the agent for remote debugging (JJDWP) This debugging is less common and requires its own execution setup. If you select this action, Appian will ask you for the IP, port and timeout for the connection.
951079.png Stop the agent from remotely debugging (JJDWP) Unlike the non-JJDWP version, this debugging must be stopped from the console, and not from the resource being debugged.
951080.png Restart the agent Restarting the agent can prevent, among other things, low memory problems in the resource where it is running.
2229125.png Permanently remove the resource from the console This action cannot be undone. Available for administrator roles only.

Allow Appian to sign in

Before a robotic process starts, it may need to access your resource and start a user session if one isn't already active. On top of that, your business may restrict the privileges available to this user session.

You can configure your resource to allow Appian to automatically sign into a virtual machine as any designated user (basic or administrator) in order to start a robotic process execution. This means that you won't need to keep user sessions active on virtual machines in case a robotic process execution needs to start. Instead, Appian can start a session as needed on resources with Standby status. Appian can also automatically sign out of the resource if there are no more robotic processes to run after the last execution. Configure this option to build more flexibility into your unattended robotic processes.

Appian can only sign in to Windows resources with this configuration enabled.

You can find these configuration options on the Resource detail page in the RPA console:

rpa-appian-sign-in.png

Configure the resource

In order for the automatic sign-in service to work as expected, several pre-requisite steps must first be completed. These configuration steps and installation will require administrator privileges. Once the service is installed, a robotic process can be executed using a non-admin user account.

For the service to work as expected, the resource must use a Windows 64-bit OS (x64-based) and the user account Appian uses to sign in should be configured in the following ways:

  • The user account must belong to the Remote Desktop Users local group.
    • To add the user account, go to Computer Management > Local Users and Groups > Groups > Remote Desktop Users.

      rpa-rdp-groups

  • The user account should have the following rights in the Local Security Policy, which you can find in Local Security Policy > Local Policies > User Rights Assignment:
    • Access this computer from the network
    • Allow log on locally
    • Allow log on through Remote Desktop Services

      rpa-rdp-policy

  • The resource must allow Remote Desktop Connections. To configure this:
    1. Open the Start menu.
    2. Search for Remote Desktop Settings.
    3. Verify Enable Remote Desktop is On.

Configure the resource details in the RPA console

To allow Appian to sign in:

  1. Go to the Resource details page for the resource you want to edit.
  2. Select Enable automatic sign in.
  3. Fill in the following fields:
    • Domain: The computer network where the user account is registered. If no domain or an invalid domain is provided, the windows service will treat the credentials as a local account.
    • Username: The username of the account that you want Appian to use to sign in to the resource.
    • Password: The password of the account that you want Appian to use to sign in to the resource.
    • Screen resolution: The screen resolution of the new user session. Select a resolution that matches the one used to develop the robotic process. The resolution determines where elements appear on the screen. The robotic process may be programmed to navigate to specific places on the screen to interact with those elements, so it's important to choose a resolution that matches the one used during development to ensure that actions are executed exactly the same.
  4. Click SAVE. You'll have to save the resource configuration before you can proceed.
  5. At the top of the Resource details page, click DOWNLOAD INSTALLER.

Launch the installer on the resource

You'll need administrator privileges on the resource to install the sign-in service using the instructions below.

After you've configured the resource, you'll install the sign-in files on the resource using the installation wizard:

  1. Launch the installer you downloaded in the previous section.
  2. After reading the License Agreement, click Next.
  3. Choose a Destination Folder located in the user folder of the user account that you'll use to sign in. For example, C:\Users\<username>\AppData\Local. The installer will create a folder titled Appian RPA in this location with all the necessary files.
  4. Click Install to complete installation.
  5. On the final step of the installation wizard, click Show details to see an installation summary or click Close to finish.
  6. Exit the installation wizard.
  7. To check the installation was successful, go to Services. You should see the new service in the list: Appian RPA AutologinService [Resource Name].
  8. Before testing automatic sign-in, ensure that you properly sign out of your user session. Click on your user account icon and select Sign out.

You are now ready to use automatic sign-in.

Change the default user starting the sign-in service

When installing the automatic sign-in service, the service is automatically started by the Local System account, which is the predefined local account used by the service control manager. You can change it to be another user if you’d like to use a separate account. This user account does not need administrator privileges.

To modify which account starts the service:

  1. Right-click on the service and select Properties.
  2. Go to the Log On tab.
  3. Configure the login parameters. The user you choose must have permissions on the installation directory to be able to execute the service and write log files.
  4. Restart the service.

Test signing in to the resource

Back in the Appian RPA console, you can test the connection to the resource remotely. Appian does this through Remote Desktop Protocol (RDP).

  1. Go to the Resource details page.
  2. Go to the Allow Appian to sign in section.
  3. Click SIGN IN.
  4. You'll see a success message if Appian signed in successfully. If Appian wasn't able to sign in, you'll see an error message describing the problem. See Troubleshooting below to learn how to fix the issue.
  5. Click SIGN OUT to end the user session Appian launched during sign in. This step ensures the resource is ready for Appian to sign in automatically in the future.

If there is an active user session on the resource, Appian may not be able to sign in successfully. For the best results, ensure there is no active user session for the user account Appian uses to sign in to the resource.

RDP signs in successfully

If your test was successful, then you're all set! Appian will automatically sign in to this resource using the provided credentials whenever the resource is called upon to execute a robotic process.

Troubleshooting

To help keep you on track, Appian may display messages to show you when it's unable to sign in. Use the following table to understand the error and learn how to fix the issue.

Error message Reason Guidance
Invalid sign-in credentials. Unable to sign in because the credentials are invalid. Check the username and password are correct and try again. Appian tried to sign into the user sessions using the credentials you provided, but it didn't work. The credentials may be inaccurate, or they don't match an account found on the domain. Check the domain, username, and password fields to make sure they're correct.
Robot not found. Unable to sign in because RDP couldn’t locate the agent on the resource. Check that the agent is installed on the resource and try again. Appian was unable to locate the agent file on the resource. The agent is required to allow the resource to communicate with the RPA console. Check that the agent is installed and that the user account configured to sign in to the resource has permissions to run the agent.
RDP is not enabled. Unable to sign in because Remote Desktop is disabled on the resource. Enable Remote Desktop and try again. Appian tried to sign in to a user session on the virtual machine, but RDP isn't enabled. Enable RDP on the resource.
Error: Active user session. Unable to sign in because the resource has an active session. Sign out from the active session and try again. Appian tried to sign in to the virtual machine, but there is already an active user session.

Note that this message appears for standard Windows operating systems.
Sign out of the active user session on the resource.
Error: Active user session. Unable to sign in because the resource has an active session for the OS user account you’re using to sign in. Sign out from the user’s active session and try again. Appian tried to sign in to the virtual machine, but there is already an active user session for the user account you're using to sign in.

Note that this message appears for Windows Server operating systems.
Sign out of your active user session on the resource.
Error with automatic sign-in. Unable to sign in because of an issue with Remote Desktop. Review the Remote Desktop settings and try again. Appian tried to sign in to the virtual machine, but was unable for an unknown reason. Verify that the RDP settings on the resource match the configurations listed above.
Error with automatic sign-in. Unable to sign in because Remote Desktop didn’t respond. Verify that the sign-in service is running on the resource and try again. Appian tried to sign in, but the sign-in service didn't respond in time. It might be that the sign-in service isn't running on the resource. Confirm that the sign-in service is running on the resource.

Container configuration

This feature has been deprecated and may be removed in a future release.

In the Container configuration section, you can configure two different types of containers for a resource: Docker and VirtualBox. Once the configuration is done, the console is able to integrate with the container to start and to stop it.

Docker

rpa-resources-docker.png

Additionally, it is possible to use Kubernetes as a Docker containers manager.

For Docker, you have to fill the following fields:

  • Host: The machine where the Docker service is installed.
  • Port: The port to connect to the host. The console uses an SSH connection.
  • Host user / password: The credentials to connect to the host machine.
  • Image name: Name of the Docker image to start.
  • Container name: Name of the container with the Docker image to start.
  • VNC external port: Optionally, if the image we prepared for a resource is Linux with VNC already configured, here you must indicate the port to access the machine using this protocol.
  • VNC password: Password for VNC.
  • Host data folder: The Docker image is started specifying that the agent is location on this path. This way, the agent, the cache, the workspace and logs will be persisted along the container executions.
  • Additional configuration: In case we want to specify something else about Docker.

Using these configurations, the console generates a Docker command to send to the machine to start or stop it.

VirtualBox

rpa-resources-vb.png

For VirtualBox, you have to fill the following fields:

  • Host: The machine where the VirtualBox service is installed.
  • Port: The port to connect to the host. The console uses an SSH connection.
  • Host user / password: The credentials to connect to the host machine.
  • VM name: Name of the virtual machine to handle which is configured in the VirtualBox service.
  • Additional configuration: In case we want to specify something else about VirtualBox.

Using these configurations, the console generates a VirtualBox command to send to the machine to start or to stop it.

Remote control viewer

Required role: Developer or Administrator

You can remotely visualize and operate the desktop where the robotic process is running.

rpa-remote-control-viewer.png

To start monitoring, click on the Monitor icon (951090.png), which will show you a set of icons that allow you to perform certain actions on the desktop where the robot is executing.

Icon Description
951091.png Stop monitoring
951092.png Refresh screen
951093.png Take a screenshot
951094.png Full screen
951095.png Request the log file. It allows you to download the local error log.
951096.png Open the scripts editor Groovy. It allows you to execute Groovy code on the client.
951097.png Control remotely. It will show the position of the mouse pointer on screen, allowing you to click and drag elements on the desktop as usual. By enabling it, you will also see a text box where you can send text to the resource as well as the coordinates of the mouse pointer.
951099.png Restart services

When you're finished monitoring, click the Monitor icon again to stop. The agent consumes more resources while monitoring, so it's important to stop monitoring to ensure performance.

Restart a resource

Robotic processes consume memory and generate artifacts on the resource during each execution. Over time, this data may start to degrade the resource's performance. The resource may benefit from a restart to help free up additional memory.

When you restart a resource, Appian sends a request to the agent to try to restart its connection with the console. You can relaunch the agent from the console or manually restart the agent when you detect any issue with its operation.

You can also restart the resource automatically.

Automatic resource restart

To prevent having too much of your resource's memory occupied, you can configure a resource to restart automatically when a specified percentage of the total memory is exceeded.

For example, on a 2GB memory resource, you can specify that agent should restart whenever 80% of the memory is used (1.6GB).

  1. Go to the Resource details page.
  2. Under Reserved memory, check the Generate event if % >.
  3. Enter the memory threshold in the text box.
  4. Enter that percentage of memory not to be exceeded.
  5. Click Save.

This configuration will trigger an event to restart the agent whenever the reserved memory is exceeded. Events are explained in detail on the Monitoring page.

Disable resources on console restart

In the event the server goes down unexpectedly, administrators can configure Appian RPA to disable resources upon restart of the RPA server to ensure robotic processes will not run until an administrator has verified the resource is in a clean state.

To allow Appian to disable unclean resources on start up:

  1. Go to the Settings tab.
  2. In the Configuration tab, go to Security policies.
  3. Select Allow Appian to disable resources which are running robots during a console shutdown.
  4. Click Save security policies.
Open in Github Built: Thu, Jun 01, 2023 (06:35:28 PM)

On This Page

FEEDBACK