Professional Documents
Culture Documents
AA Bot Insight v2.1 User Guide PDF
AA Bot Insight v2.1 User Guide PDF
Bot Insight
User Guide
1. Introduction 4
5.6. Data Profile: Min & Max value to only be shown the for "numeric" variable type 14
6.1. Introduction 22
14.1. Introduction 36
14.6. Looking across other attributes for a data point in a chart widget 41
14.7. Drilling down into the raw data for a data point in a chart widget 43
16. Appendix 47
16.4. Role Based Access Control (RBAC) for Production Data Access 51
17.2. I ran a task from Task Editor but don't get the dashboard on ANALYZE click. 62
17.3. I ran a task from Control Room but data is not getting refreshed in Bot Insight. 62
17.6. I am not seeing a dashboard (inside "Analyze") that was recently published. 62
17.7. I am getting a "Sorting" message in a dashboard widget and the graph does not render. 62
17.8. My dashboard widgets expand to large sizes upon export of the dashboard. 63
17.9. I searched a dashboard inside the "Analyze" left menu and see no data. 63
l Bots are constructed in the Core Automation Anywhere Enterprise Client product: Control Room.
Using the Automation Anywhere Bot Insight product, automation experts and consumers can:
The following diagram represents how to retrieve Analytics from an automation task.
1. Log into the AA Task Editor, select a task, and right-click it, and select "Edit" in the context menu.
On the Task Editor, click ANALYZE tab. This will open a new browser window that will display the Analytics data for that task.
1. Inside the Analytics window, click on the Data Profile tab to inspect the data profile against each variable that was marked for Ana-
lytics within the task. Click on Rank to inspect the statistical distribution of the data rows against the values for that variable.
4. Interactively analyze the data by clicking on Group or Size to choose any other metric to plot [SIZE] or analyze the same metric by
another attribute [GROUP]
Keep in mind that the above cycle can be repeated iteratively by going back to the Task Editor, changing the list of variables, clicking
on ANALYZE and inspecting/analyzing the dashboard generated.
These default attributes are in addition to all the other variables that have been tagged for the task for analytics.
l The "Run Date" is also used as the "default date filter" for the system-generated dashboard for each task.
l This can be changed to any other available date attribute when custom copies are made from this dashboard.
You can create a default dashboard based on the volume of records if no numeric variable is selected for analytics. It is not necessary
to select at least one (1) numeric variable to generate the default automatic dashboard for a task .
You can customize the data profile without making any change to the Bot. Once the variables have been tagged in the Bot and the
default dashboard has been generated, you can edit the data profile and regenerate the default dashboard based on the new data pro-
file.
1. Include/Exclude variable(s) from the dashboard - You can select which variables to include/exclude within the dashboard. Fields
that are not important can be excluded directly from the data profile. E.g. Account ID could be excluded.
2. Change variable datatype - You can convert numeric variables to string; string to country, state and zip code. For e.g. Zip Code, if
numeric, doesn’t add value as it is treated as a metric; with this change, users can change it to Zip Code and use it as an attribute
instead.
3. Regenerate Default Dashboard - You can also create the default dashboard once you have customized the data profile. The new
dashboards will be generated with the changes made to the data profile.
You can see the Top/Bottom 5/10 values for the String variable. This enhances your ability to sanitize if the data has been tagged cor-
rectly in the Bot.
As an Analytics Expert you now have the ability to configure how the initial SMART dashboard gets generated.
l This solves the problem of making the SMART dashboards less usable right out of the box, requiring additional customizations all
the time.
l This will help the auto-dashboard generation exclude some random and high cardinality columns like "Employee ID", "Customer
ID" etc., and make the auto-dashboard output more meaningful.
l It will also help address issues where a "date column" is being algorithmically processed as a "string column", etc., using user over-
rides. See the following screen-shot.
You can compare dashboards in related to two separate processes (or even the same process with different filters) side-by-side to
obtain more insights in Configure and Analyze sections.
Take a financial shared services center who process accounts payable invoices. They will have multiple processes/tasks that deal with
the received invoices including:
1. Receiving the invoice and scanning it then getting the invoice into their payments/ERP system.
2. Reviewing received invoices against received purchases orders, etc.
3. Receive support emails from vendors looking for status of invoice and payments.
4. Issue payment against invoices.
In the example above, there would be multiple Automation Anywhere process tasks all looking at invoices and the associated attrib-
utes.
l If the customer wanted to get an understanding of how many invoices were received where the vendor sent emails about status to
their support desk, the customer would need to compare metrics across two tasks which would then need two dashboards to com-
pare invoice count totals.
Another example would be the case where a client is using parent child tasks.
l Completing analytics from one level to another would require the ability to compare dashboards to see how metrics are changing
between steps.
When you click on "Compare", a tab past the Data Profile section is launched. See the following screenshot.
l Here, you can search for another dashboard to compare the first one with.
l The comparison is enabled side-by-side with the two dashboard frames shown adjacent to each other.
l Within these dashboards, all regular ad hoc analysis features are available (other than the "+" Add Widget ).
5.6. Data Profile: Min & Max value to only be shown the for "numeric" variable type
l The minimum and maximum values are only shown for the "Numeric" variable type, andnotfor the String and Timestamp variable
types.
l String and Timestamp variable types are left as blank.
2. The data plotted on the chart can be filtered using the "Filters" tool.
4. The time line attribute against which the information is displayed can be changed using the different time attributes available in the
"Time Bar" tool.
Note: If the "None" (Time Bar is Off) option is selected, the yellow time bar will NOT appear at the bottom when the widget is clicked
or highlighted in the dashboard.
8. If the chart type is not appealing enough and needs to be changed, use the "Chart Style" option.
Pick a new chart type of your choice along with the other format options that go with it (including Fonts).
You can repeat the customization steps and use "Save" to save the modifications.
The cross-tab Excel-type reports are very powerful methods to interactively analyze data and discover what the data contains.
1. The Analytics product has some very easy ways how this can be done as shown in the following the visual examples.
2. New "Row Attributes" can be added to show up as "rows" in the tabular data.
5. Column "Attributes" can also be added to the "Columns" section to convert the report into the classic cross-tab style report.
The column widths can be visually modified like the sizing of Excel columns.
Once the entire report has been configured, use the "Save" option to save the changes to this cross-tab style report.
Once custom dashboards have been created with new widgets and/or changes to widgets from the system generated dashboards,
verify that the data gets properly populated by re-running the task
1. Run the task again from the "Task editor" and click "ANALYZE".
2. Click "ANALYZE" to return to the default system generated dashboard (Ultron Invoice Processing) and look at the customized dash-
board (Ultron Invoices). To do this, use the "Search bar" to search for the Dashboard name.
1. When run in such a fashion, the data generated becomes available for display on the dashboards (associated to that task - system
generated, or user defined) that have been published as shown in the preceding "Publishing a user created (customized) dash-
board" topic.
l Review the data which now reflects data processed in production by the analytics task.
l You can also export the entire dashboard to PDF or PNG formats for offline consumption and review of its contents.
1. Bookmark a dashboard by clicking on the "Bookmark" option available in the UI above the dashboard.
4. When users reach the limit of 10 bookmarks in a section (Configure or Analyze) and would like to Bookmark new dashboards,
they need to remove some from the existing list by un-bookmarking them.
Click the Bookmarked link at the top of a current Bookmarked dashboard to remove them from the Bookmarks list.
1. When a dashboard is deleted, the underlying data (related to the associated task) is kept intact and is not impacted.
2. Dashboards can be deleted both in the "Configure" and "Analyze" sections of Analytics UI.
l The impact of a "Delete" operation in the "Analyze" section is much larger.
l This will delete a user-created dashboard that was previously "Published".
l Important note: To delete dashboards, a user needs to be assigned the "Analytics Expert" role.
Regarding these situations, newly added variables need to be made available for analysis and usage within existing custom dash-
boards that have been previously created against that task.
2. The following custom dashboard was created based on the data processed by the preceding task (shown above).
4. The task is modified and several new variables are tagged for analytics.
5. The user who consumes information in the custom dashboard associated to the preceding task needs to be informed of the avail-
ability of these new variables.
7. When the user clicks and opens the "Data Profile" tab, the new variables are highlighted with a "New" indicator.
9. The custom dashboard with the changes needs to be re-published for the changes to be seen by business users in the "Analyze"
section.
l The "data" for these new variables will be populated from the "date" when the task was updated with these newly tagged
variables.
The Analytics product supports a wide range of ad hoc data analysis and drill-down capabilities from each of the individual reports that
form part of a dashboard using the "RADIAL" widget.
l Users can understand and gather deeper insights regarding the data and what it represents using these capabilities.
3. Click the small "back arrow" (undo) in the bottom left-hand corner of the Report widget to undo the preceding operation and return
the removed data point.
3. To undo the preceding action, use the "UNFILTER ALL" operation on the "RADIAL" widget from the same data point.
2. You can choose which specific widgets from the dashboard to filter with this data point value.
14.6. Looking across other attributes for a data point in a chart widget
1. Click a data point (Prozac) to open the "RADIAL" wizard, then click "ZOOM".
3. The distribution of the metric values across the chosen zoom into an attribute (for the chosen data point as a filter) can be inter-
actively visualized.
2. The summary information of the raw data for data rows with the chosen data point can now be seen.
4. The individual rows of data can be inspected before you click "Export Raw Data".
You can access the Operational Analytics board from the Control Room Operations Room.
l This means that the Bot Insight App was able to successfully register with the Control Room.
l This dashboard shows information about the New Bots Uploaded, New Users Added, and Total Bot Runs and more.
l You can opt to view the Events Distribution based on the Activity Type and Activity Audit Trail by Host Machine Type for a
specific time-line.
Variables that are being processed in loops are logged at the end of each loop cycle. Other task variables, marked for Analytics, are
logged at the end of the task.
If you want to log a date variable, the date value needs to be in the ISO 8601 format which is:
l "YYYY-MM-DD" or
l "YYYY-MM-DDTHH:MM:SS"
The system date variable (with the needed formatting like above) can be assigned to any date variable, if that is what is desired. See
the following screenshot.
If instead the date is being obtained from any other application, file, or database, the date needs to first be converted to ISO format
(using a small VBScript or JavaScript function) before being assigned to the date variable for analytics logging.
There is a default runtime timestamp which is tagged on to each row of data which is logged for Analytics. This timestamp field is used
for the default Run Date attribute which is shown as the date filter at the bottom of each auto generated dashboard (for any task).
There are two user roles created out of the box related to Analytics.
Analytics Expert
A user assigned the "AAE_Bot Insight Expert" role will be able to get access to all features related to Analytics as mentioned below.
"Configure" section
l View Data Profile of task data (on which a dashboard reports off).
l Analyzing system generated dashboards.
l "Save As" of system generated dashboards.
l Modify custom user created (customized) dashboards and "Save" them.
l "Publish" user created (customized) dashboards.
l "Bookmark" dashboards.
l "Delete" user-created (customized) dashboards.
All user management for AAE products is handled through the Centralized User Management module in the AAE Control Room
product. See the following screenshot.
Analytics Consumer
A user assigned the "AAE_Bot Insight Consumer" role will be able to get access to all features related to Analytics as mentioned
below. See the following screenshot.
"Analyze" section
l Analyzing data refreshed in production deployed dashboards.
l "Bookmark" dashboards.
The access to the various dashboards (with the underlying task data) can be restricted based on the roles to which the users are asso-
ciated with in the core AAE platform. This ONLY applies to dashboards displayed within the "Analyze" left-menu section of Bot Insight
(which displays data logged in production mode).
The automation tasks created within Automation Anywhere client (for which analytics has been enabled) need to be uploaded to
the Control Room.
In the core AAE Enterprise platform, roles can be created that correspond to specific folder level permissions by which access to
individual tasks (automations) is restricted. See the following screenshot.
The Bot creator role shown above provides access to all the tasks under the "My Tasks" folder (and all its sub-folders) in the AA
Task Editor (as shown in the following screenshot).
Another role called "Beta Tasks" can be created which ONLY provides access to all the tasks under the "Beta Sample Tasks" folder
(and all its sub-folders). See the following screenshot.
The dashboards that can be searched for by devuser2 will be restricted to those whose underlying tasks are featured under the
"Beta Sample Tasks" folder (and all its sub-folders). See the following screenshot.
While the dashboards which can be searched for by devuser1 will be restricted to those whose underlying tasks are featured under
the ‘My Tasks’ folder (and all its sub-folders). See the following screenshot.
The product handles automation tasks (with hierarchies) with nesting up to 3 levels: Parent → Child → Grandchild.
The core principle is based on the parent tracking its variables (those tagged within it) AND the variables tagged within all its children.
The examples below illustrate this.
1. The Parent Task invokes the child task (as part of the automation). See the following screenshot.
2. The Child task has its own set of variables instrumented for analytics. See the following screenshot.
You can use our REST APIs to get access to the data logged by a task during ‘Production’ runs that were successfully completed. The
grain of getting data via the APIs is at a daily level. See the following screenshot.
Three APIs are supported to help get more information regarding task data and the data that is logged.
"attributeType":"STRING",
"variableName":"CustomerId",
"displayName":"Customer Id",
"isActive":"Y",
"isAttributeTypeChanged":"N",
"isInUse":"Y",
"mappedToColumn":1,
"dateModified":1482263461898,
"active":"Y",
"inUse":"Y",
"attributetypechanged":"N"
},
{
"attributeType":"STRING",
"variableName":"CustomerRegion",
"isActive":"Y",
"isAttributeTypeChanged":"N",
"isInUse":"Y",
"mappedToColumn":2,
"dateModified":1482263461898,
"active":"Y",
"inUse":"Y",
"attributetypechanged":"N"
{,
"attributeType":"NUMERIC",
"variableName":"ee56e6dd-df10-4e27-9030-52d4aff006b9|LineItemCost",
"displayName":"LineItemCost|ChildTask",
"isActive":"Y",
"isAttributeTypeChanged":"N",
"isInUse":"Y",
"mappedToColumn":4,
"dateModified":1482263461898,
"active":"Y","inUse":"Y","attributetypechanged":"N"}]
{
Parameters
l from – specify the date from which you need to access the data profile of the task
l to – specify the end date till you need to access the data profile of the task
{
"taskId": "c2377610-1710-43d7-92e4-bebdfadb506d",
"taskName": "Order to Cash", "totalRecords": 100000,
"profileVariables": [
{
"variableName": "cost_saving",
"displayName": "Cost Saving",
"attributeType": "NUMERIC",
"isAttributeTypeChanged": "N",
"totalRecords": 100000,
"sumOfValue": 1000000,
"minimumValue": "10",
"maximumValue": "10",
"averageOfValues": 10,
"totalDistincts": 1
},
{
"variableName": "country",
"displayName": "Country",
"attributeType": "STRING",
"isAttributeTypeChanged": "N",
"totalRecords": 100000,
"minimumValue": "",
"maximumValue": "",
"totalDistincts": 6
}
]
}
{
"totalRecords": 200000,
"taskLogDataList": [
{
"machineName": "WIN-PJE52KPUBTM",
"runStatus": "CompletedSuccessfully",
"userId": 1,
"dateLogged": 1482404843524,
"variables": "{
\"application_name\":\"TN3270\",
\"bot_runner\":\"M342\",
\"customer_category\":\"High Net Worth\",
\"customer_country\":\"US\",
\"customer_name\":\"Edgepulse\",
\"reco_amt_diff\":\"0\",
\"reconciliation_status\":\"Success\",
\"transaction_amount\":\"673332.96\",
\"application_name\":\"TN3270\",
\"bot_runner\":\"M1\",
\"customer_category\":\"High Net Worth\",
\"customer_country\":\"US\",
\"customer_name\":\"Edgepulse\",
\"reco_amt_diff\":\"0\",
\"reconciliation_status\":\"Success\",
\"transaction_amount\":\"408536.22\",
\"transaction_cos\":\"20\",
\"transaction_date\":\"1473836400000\",
\"transaction_id\":\"02-308419\",
\ "transaction_time\":\"9\"
}"
},
{
"machineName": "WIN-PJE52KPUBTM",
"runStatus": "CompletedSuccessfully",
"userId": 1,
"dateLogged": 1482404843524,
"variables": "{
\"application_name\":\"TN3270\",
\"bot_runner\":\"M1\",
\"customer_category\":\"High Net Worth\",
\"customer_country\":\"US\",
\"customer_name\":\"Thoughtworks\",
\"reco_amt_diff\":\"0\",
\"reconciliation_status\":\"Success\",
\"transaction_amount\":\"659118.29\",
\"transaction_cost\":\"27\",
\"transaction_date\":\"1474009200000\",
\"transaction_id\":\"27-917992\",
\"transaction_time\":\"9\"
}"
},
{
"machineName": "WIN-PJE52KPUBTM",
"runStatus": "CompletedSuccessfully",
"userId": 1,
"dateLogged": 1482404843538,
"variables": "{
\"application_name\":\"TN3270\",
\"bot_runner\":\"M65\",
\"customer_category\":\"High Net Worth\",
\"customer_country\":\"US\",
\"customer_name\":\"Edgepulse\",
\"reco_amt_diff\":\"0\",
\"reconciliation_status\":\"Success\",
}"
}
]
1. Only users with AAE Control Room "Admin" privileges can use these APIs.
2. These APIs are https by default and will not work for unsecured http deployments.
You can use our RESTful APIs to get access to the data logged by the Control Room when it runs automation tasks and handles reg-
ular user activity (Audit trail). The grain of getting data via the APIs is at a daily level.
Two APIs are supported to help get more information regarding task runs data and the user activity Audit trail that is logged.
{
"totalRecords": 2,
"botRunDataList": [
{
"id": 11,
"userName": "mike",
"firstName": "",
"lastName": "",
"email": "m@m.com",
"clientType": "None",
"hostName": "WIN-PJE52KPUBTM",
"iPAddress": "172.31.16.235",
"applicationPath": "C:\\Users\\Administrator\\Documents\\Automation Anywhere Files",
"fileName": "Order to Cash.atmx",
"startTime": "2016-12-28 20:22:18.0",
"endTime": "2016-12-28 20:24:34.8429951",
"status": "Completed",
"errorMessage": "",
"timeTaken": "136",
"successIndicator": "0"
},
{
"id": 12,
"userName": "mike",
"firstName": "",
"lastName": "",
"email": "m@m.com",
"clientType": "None",
"hostName": "WIN-PJE52KPUBTM",
"iPAddress": "172.31.16.235",
"applicationPath": "C:\\Users\\Administrator\\Documents\\Automation Anywhere Files",
"fileName": "Account Reconciliation.atmx",
{
"totalRecords": 21,
"auditTrailDataList": [
{
"id": 3331,
"eventDescription": "Logged in successfully",
"activityType": "Login",
"domain": "Default",
"hostName": "ip-172-31-21-124.us-west-2.compute.internal",
"userName": "admin",
"activityAt": "2016-12-02 01:07:42.8956124",
"status": "Success",
"verbosityLevel": "Information",
"source": "Control Room",
"rowVersion": 636162376628966131
},
{
"id": 3332,
"eventDescription": "Logged in successfully",
"activityType": "Login",
"domain": "Default",
"hostName": "ip-172-31-21-124.us-west-2.compute.internal",
"userName": "admin",
"activityAt": "2016-12-02 01:07:47.9844655",
"status": "Success",
"verbosityLevel": "Information",
"source": "Control Room",
"rowVersion": 636162376679854756
},....
}
1. Only users with AAE Control Room "Admin" privileges can use these APIs.
2. These APIs are https by default and will not work for unsecured http deployments.
17.2. I ran a task from Task Editor but don't get the dashboard on ANALYZE click.
l Make sure the "Enable Analytics" checkbox in the Task properties section for that task is checked and run the task again.
17.3. I ran a task from Control Room but data is not getting refreshed in Bot Insight.
l The Bot Insight product refreshes data in dashboards that have been deployed to "Production" once every hour (default con-
figuration that can be changed post installation).
l You should wait for the next hour and check if the data is refreshed.
l As many of the automation tasks (that have been deployed to production via Control Room) get scheduled and run automatically
as per the schedule, the data refresh will also happen automatically and regularly in a production deployment.
17.6. I am not seeing a dashboard (inside "Analyze") that was recently published.
l You may not have required permissions on the underlying automation task (restricted using Role Based Access Control).
l The underlying automation task may not have been uploaded to the Control Room.
17.7. I am getting a "Sorting" message in a dashboard widget and the graph does not render.
l This may happen at times. To get past this, refresh your current browser tab and this should go away.
17.9. I searched a dashboard inside the "Analyze" left menu and see no data.
l Check for the current default date filter setting at the bottom of the dashboard. iI may be set to just show the most recent task run.
l Change it to "Current Quarter" or "Current Year" and you will see data inside the dashboard.