|This content applies solely to Robotic Workforce Manager, which must be purchased separately from the Appian base platform. This content was written for Appian 21.3 and may not reflect the interfaces or functionality of other Appian versions.|
This setup guide is intended for customers using Appian 20.2 or later and Blue Prism versions 6.4, 6.5, 6.6, 6.7, and 6.8.
As you begin, keep these notes in mind:
To successfully import an application package, the service account user which deploys the application package must be in the GMT time zone and must not be changed.
Click on the menu and navigate to the Appian Designer.
Upload the Robotic Workforce Manager<\version>.zip file to the Package (ZIP) section. Make changes to the Robotic Workforce Manager.properties as mentioned below.
Note: If your installation of RWM only requires Blue Prism set up, don't modify the RWM_UI_PATH_CSP and RWM_AppianRPA sections in the properties file.
Robotic Workforce Manager.properties
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 Provide the database vendor, ex: MYSQL or MSSQL ## Constant: RWM_DB_VENDOR ## Type: Text ## ## Text values will be displayed in Appian exactly as they are ## specified here. No spaces are trimmed. Values do not need to be ## encased in quotation marks. content._a-0000e49f-ec1b-8000-9bc3-011c48011c48_1126829.VALUE=@@DATABASE_VENDOR@@ Provide the Appian environment URL ex:https://xyz.appiancloud.com ## Constant: RWM_VAL_APPIAN_DOMAIN_NAME ## Type: Text ## ## Text values will be displayed in Appian exactly as they are ## specified here. No spaces are trimmed. Values do not need to be ## encased in quotation marks. content._a-0000e23d-7780-8000-9ba2-011c48011c48_64089.VALUE= [http(s)]://[Appian URL] Appian business database name ex:jdbc/Appian ## Constant: RWM_VAL_COMMON_DATA_STORE_APPIAN ## Type: Text ## ## Text values will be displayed in Appian exactly as they are ## specified here. No spaces are trimmed. Values do not need to be ## encased in quotation marks. content._a-0000e23d-7780-8000-9ba2-011c48011c48_69762.VALUE=jdbc/[Database Name] The following are details specific to the UiPath connected system. No modifications are needed; these details are configured directly from the database. ## Connected System: RWM_UIPath_CSP connectedSystem._a-0000e2f2-a540-8000-e99f-01ef9001ef90_314069.host=http(s)://<UIPath_Orchestrator_URL> connectedSystem._a-0000e2f2-a540-8000-e99f-01ef9001ef90_314069.port=<Port_Number to access UIPath Orchestrator> connectedSystem._a-0000e2f2-a540-8000-e99f-01ef9001ef90_314069.tenant=<Host_Name to access UIPath Orchestrator> connectedSystem._a-0000e2f2-a540-8000-e99f-01ef9001ef90_314069.userName=<Username to access UIPath Orchestrator> connectedSystem._a-0000e2f2-a540-8000-e99f-01ef9001ef90_314069.password=<password> The following are specific to the Appian RPA HTTP connected system. For API Key Value, use the format "Bearer <apiKeyValue>". The API Key must be related to a service account in Admin Console. The service account should have System Administrator access. ## Connected System: RWM_AppianRPA connectedSystem._a-0000e3be-674f-8000-9ba5-011c48011c48_30431.baseUrl=[http(s)]://[Appian URL]/rpa/ connectedSystem._a-0000e3be-674f-8000-9ba5-011c48011c48_30431.apiKeyValue=Bearer <apiKeyValue>
Click the Include related import customization file checkbox and upload it to the Import Customization File (PROPERTIES) section.
Click Inspect. If the inspection returns without any warnings or conflicts, then you are ready to move on to the next step of importing. If you're shown unexpected warnings or conflicts, please contact the support team.
Click Import. Due to the size of this application, it may take a while to import, at which point the screen may time out. This is expected, and the import is still occurring in the background.
In order to use the encryption function plugin, we need to create third party credentials. You need to set up third party credentials because an encryption function will be used to encrypt the admin user's Blue Prism credentials. Below are the steps to set up the third party credentials.
Go to the Admin Console.
Click on the Third-Party Credentials option on the left hand menu.
Click on the Create button. An interface will open up to set up third party credentials.
encryptdecryptkey in the Name text box, and select Encryption Function in the plugin picker.
In the Credentials section, click Add field to add credentials. In Field name enter the text key and in Value enter an encryption key. You will need to generate your own AES-256 encryption key to enter here. Enable the Mask checkbox and click Save.
This completes the set up of third party credentials for the encryption function plugin.
To configure the vendor details, you need to be a member of the RWM_Admin group.
Click Add New Environment and enter the details.
To add the instance details:
On this tab, click Add New Instance to add all the instance details in accordance with vendor details. Disabled fields are not required.
The Robotic Workforce Manager package consists of the Robotic Workforce Manager<\version> -> BP Release Robotic Workforce Manager.bprelease file, which contains multiple objects to be setup in the Blue Prism Environment.
One dedicated run time resource is needed to manage the RWM application.
These objects are required to be added to the Blue Prism environment:
To add the objects:
Log into Blue Prism, click on File > Import.
To enable SQL server authentication:
Right-click on the server and go to properties as in Figure 188.8.131.52 (c).
In properties, check SQL Server and Windows Authentication mode and click OK as shown in Figure 184.108.40.206 (d).
Pre-setup steps You'll need to set up Appian skill and credentials before importing the ".bprelease" file.
This includes configuring:
For RWM Blue Prism server and Appian credentials, provide the following access rights:
Refer to Figure 220.127.116.11.1.2.2 (a) for the location of the credentials.
Exposing business objects
Expose the following objects:
To communicate from Appian to Blue Prism:
In Blue Prism, go to System > Objects > Exposure > Expose a Business Object as shown below.
Enter the full name of the objects listed above. This includes the exposed object name and the object name indicated within the parenthesis (for example
RWM Add to Queue (RWMAddtoQueue)). None of the checkboxes need to be selected as shown below.
Expose the following processes:
To communicate from Appian to Blue Prism:
RWM Asynchronous StartProcess). None of the checkboxes need to be selected as shown below.
To set up RWM ETL Scheduler:
To set up RWM Schedules:
As you finish set up, confirm the following details to verify RWM and BluePrism are communicating as needed:
telnet <Blue Prism IP Address> <Port Number>.
services.exeto make sure that the scheduled process in Blue Prism runs successfully.
To test the connection from Appian, use the integration
RWM_testAppianWebAPICall. Pass your Blue Prism credentials as rule inputs and click Test Request.
Data are loaded from Blue Prism to Appian on a continuous basis by running the ETL process on the Blue Prism side. The process could also be used to load historic data into Appian.
To load the historic data, the environment variables below should be configured:
Once the above values are configured the process RWM_getDataFromBPToAppian needs to be started manually.
A scheduled ETL process runs every specified internal to collect Blue Prism statistics and move them to Appian via a predefined web service. The timing of this run is configurable. Users can configure the timing by navigating to the scheduler called RWM ETL Scheduler in Blue Prism. After which the RWM ETL task needs to be selected and the process RWM_getDataFromBPToAppian needs to be added against either a particular resource or to a pool.
Make sure that the logging level in Blue Prism for these continuous sync processes is set to error or none. Since this runs every 15 minutes by default, Blue Prism activity can accumulate large log files quickly and cause disk space issues. Perform testing to determine if logging level error or none is preferable.
Once the data is loaded into Appian, the dashboards carry the last updated timestamp on each screen (top right corner).
It should be noted that the application can only show data as of the previous schedule (typically the previous frequency).
To enable the Blue Prism schedule process in RWM, set the
RWM_BP_FLAG_PROCESS constant in Appian to
True. This will enable the
RWM Daily Process For Scheduler process model, which will run daily at the configured time.
Data regarding Process, Queue, Work Items, Resource information, and other metrics are transported from Blue Prism to Appian on a scheduled interval. A scheduler invokes a Blue Prism robot to execute a process, which runs several queries. The response is converted to a JSON and moved to Appian via the endpoints configured on Appian's side.
Once a user starts or schedules a process, the process name, its input parameters, scheduled time (aka deferred time, if scheduled) and Appian-generated reference ID are sent to Blue Prism via Appian Web API. In Blue Prism, an object called HIL Populate Queue will be invoked (in Background mode), which creates a work item based on this information. These processes will be triggered passively in Blue Prism via a Blue Prism Scheduler.
Currently, the near real-time extraction of the Process (Start/Schedule execution), Resource Status from Blue Prism. For this, there is a process in Appian that will run after the ETL process to update the status.This response will be updated in Appian.
Currently, the exception management reference app has been developed in Appian and Blue Prism, where Appian is used as a tool to manage the exceptions raised from data which is pulled by ETL process, where these exceptions will be assigned to a specific user or group based on the routing logic at Appian. If a match in the routing module is not found, the exceptions will be sent to the Exception Manager for assignment.
After you complete the post-setup steps, start the ETL Process (
RWM_GetDataFromBPtoAppian) from the Control tab in Blue Prism. Note: Environment variable (RWM HistoricUpdate Flag) should be
true when running for the first time alone (with RWM HistoricQuery StartDate and RWM HistoricQuery EndDate). After the first execution, it should be set to
Don't start the scheduler in Blue Prism until the
RWM_GetDataFromBPtoAppian process for historic load is completed.
Learn more about the Blue Prism historical load process.
When you run the ETL, you may encounter errors due to misconfigurations. You can find these error messages in the session log of that particular instance. To access the session log, right click on the process, and click View Log.
Here are some solutions for common error messages:
This error may occur when the data sync load started before the historic load or a past ETL process is still running. If the ETL process was run for the first time with historic load (
RWM HistoricUpdate flag set to
true) or the previous instance of the ETL process (
RWM_GetDataFromBPtoAppian) is still running, then the session log will appear as shown below.
To solve this error:
RWM_GetDataFromBPtoAppian) with historical load.
RWM_GetDataFromBPtoAppian) is still running.
This error may occur when the WebAPI endpoint checkbox is left unchecked.
To solve this error, check the WebAPI endpoint checkbox in Appian Skill > Send Data to Appian > Parameters > Expose.
This error appears in the logs when there are improper access rights for the credentials in Blue Prism.
To solve this error, provide the following access rights:
When you start a Blue Prism process from Appian, you will see an instance called RWM Populate Queue running in Blue Prism. This indicates that the webservice call is successful.
When the scheduled process ends in Blue Prism, Appian will begin a process in Blue Prism called
RWM Trigger Process.
Setup with Blue Prism