- Release notes
- Before you begin
- Getting started
- Integrations
- Working with process apps
- Working with dashboards and charts
- Working with process graphs
- Working with Discover process models and Import BPMN models
- Showing or hiding the menu
- Context information
- Export
- Filters
- Sending automation ideas to UiPath® Automation Hub
- Tags
- Due dates
- Compare
- Conformance checking
- Root cause analysis
- Simulating automation potential
- Starting a Task Mining project from Process Mining
- Triggering an automation from a process app
- Viewing Process data
- Creating apps
- Loading data
- Customizing process apps
- Publishing process apps
- App templates
- Additional resources
Process Mining
Create new app wizard
In the Process Mining portal, you can easily create new apps. When you select the Create new app button, a wizard opens that guides you through the process of creating a new app step-by-step. When you leave Create new app wizard at any step, the current state is saved. You can continue creating the app with the state you left the wizard before.
To upload data for a process app, you need to have AI Units on your account. Refer to License for more information on AI Units.
-
Create new app
-
Select app template
-
Define the app properties
-
Select the data source
-
Select the process model
-
Finish the app creation
1. In the Process Mining portal, go to the Development tab, and select Create new app.
A wizard starts and the Select app template step is displayed, where you can select an app template to be used for your app.
You can choose to use an existing app template as a starting point for a new app.
See App Templates for an overview of the available app templates.
-
Select the Create app button on the tile representing the application template you want to use as a base for your new app.
You can start entering the name of the app template in the Search field to filter for specific app templates and find the app template more easily.
The Basic details step is displayed with the default information from the process app type you selected.
1. Edit the name to define a unique name for the new process app in the App name field.
2. If desired, edit the description in the Description field.
3. Select Next.
It can happen that you enter a name for an app that already exists but that you do not see in the All process apps list. In this case, it can be an app for which you do not have View permission.
The Data source step is displayed.
.tsv
files, or load data using an extractor. The data is ingested after you have created the new process app.
For performance and security reasons, it is strongly recommended to use a small dataset for app development and testing data transformations.
The development dataset is used for testing the data transformations. It does not affect the data displayed in the dashboards of the published process app.
Once your app is ready to be used by business users, you can publish the app and ingest new data for use in the published process app.
-
Select the applicable option for your data source.
-
Select Next.
Use Theobald extractor is the recommended option for process apps that use an SAP source system.
If you selected an app template that uses an SAP source system, the Use Theobald extractor option is the default option for loading data.
You can copy the details for use in the extractor in the Upload data using Theobald step later in the app creation process. See Finishing the app creation.
Refer to Loading data using Theobald Xtract Universal for more information.
The Use CData extractor option is the default option for app templates that use a source system that is supported by CData.
You can copy the details for use in the extractor in the Upload data using CData step later in the app creation process. See Finishing the app creation.
Refer to Loading data using CData Sync for more information.
.csv
files.
For large amounts of data, it is recommended to use CData Sync or Theobald Xtract Universal (for SAP) to upload data.
You can also use the DataUploader to upload data files up to 5TB each directly into a Process Mining process app.
Make sure the .csv files have the suffix _raw.
Follow these steps to upload data files.
-
Drag and drop one or more files that contain the data for the process app, or select to select the files from your computer.
-
Check the detected details for your dataset for Encoding, Delimiter, and Quote character. If needed, select the appropriate settings.
You can copy the details for use in the extractor in the Upload data using extractor step later in the app creation process. See Finishing the app creation.
The Upload data using direct connection option is only available for app templates that use a ServiceNow source system or Salesforce source system.
The Upload data using direct connection option is the default option for app templates that use a source system for which a direct connection is available.
Prerequisites
Upload data using a direct connection uses Integration Service connections. This implies that you need to have:
-
a license for Integration Service;
-
Integration Service enabled on your tenant;
-
access to Orchestrator.
Integration Service connections are restricted by folder. If you want to use a connection from a specific folder, you need to have access to that folder in Orchestrator to see it in Process Mining. If you create a new connection from Process Mining, this connection is created in your personal workspaces in Orchestrator.
Refer to the Integration Service guide for more information on Integration Service licensing and Integration Service connections.
Setting up a direct connection
For process apps that use a ServiceNow or a Salesforce source system, you can set up using a direct connection to your source system from the Selecting the data source step instead of setting up a connection using CData Sync.
The Upload data using direct connection option loads data in to your process app directly from the source system.
Follow these steps to set up a direct connection to the source system:
-
Select the Upload data using direct connection option.
The source system used for the app template displayed.
-
Select Connect.
A new browser tab is opened where you can enter the authentication details for the connection.
Connecting to ServiceNow
By default, OAuth 2.0 Authorization Code is used as the authentication type.
-
Configure the connection for ServiceNow. Check out ServiceNow authentication in the UiPath Integration Service guide for more information.
-
After successful authentication, go back to the Process Mining webpage and select your connection.
-
Select Next.
The connection is established and the Extraction settings page is displayed.
-
If desired, change the start and end dates for the extraction period, or accept the default.
-
Select Next.
The Extraction tables page is displayed, showing the tables that will be extracted from ServiceNow. By default, the required input tables defined for the app template are selected.
-
If desired, add additional tables for extraction.
-
Select Next.
Connecting to Salesforce
By default, OAuth 2.0 Authorization Code is used as the authentication type.
-
Configure the connection for Salesforce. Check out Salesforce authentication in the UiPath Integration Service guide for more information.
-
After successful authentication, go back to the Process Mining webpage and select your connection.
-
Select Next.
The connection is established and the Extraction settings page is displayed.
-
If desired, change the start and end dates for the extraction period, or accept the default.
-
Based on your Salesforce instance, you may need to configure some additional parameters for the connection. If the parameters are enabled in your Salesforce org, select the applicable options in the Extraction settings page.
-
-
Select Next.
The Extraction tables page is displayed, showing the tables that will be extracted from Salesforce. By default, the required input tables defined for the app template are selected.
-
If desired, add additional tables for extraction.
-
Select Next.
The following table describes the (optional) parameters for the Salesforce app templates.
App template |
Parameters |
Salesforce Account-Management |
Refer to Alternative scenarios in the Extraction section of the app template documentation for details. |
Salesforce Lead-to-Order |
Refer to Alternative scenarios in the Extraction section of the app template documentation for details. |
Salesforce Incident-Management |
Refer to Alternative scenarios in the Extraction section of the app template documentation for details. |
Salesforce Lead-to-Cash |
Refer to Alternative scenarios in the Extraction section of the app template documentation for details. |
Extraction settings
App template |
Parameters |
Salesforce Account-Management |
Refer to Alternative scenarios in the Extraction section of the app template documentation for details. |
Salesforce Lead-to-Order |
Refer to Alternative scenarios in the Extraction section of the app template documentation for details. |
Salesforce Incident-Management |
Refer to Alternative scenarios in the Extraction section of the app template documentation for details. |
Salesforce Lead-to-Cash |
Refer to Alternative scenarios in the Extraction section of the app template documentation for details. |
When selecting an Automation template, data is loaded from the Orchestrator Robot Logs of your process. In the Automated process step a list of processes that are available for your tenant and for which you have access in Orchestrator based on your folder permissions is displayed.
1. Locate the folder where your automation is stored. When you select the folder, the available automated processes are displayed.
3. Select the process you want to monitor using the Automation template, and select Next.
You can select the type of process model to be used for the process app.
Discover process model and Import BPMN model introduce detailed semantic events for exclusive, parallel, and loop behaviors that enhance process precision but may affect app scalability. As a result, this might impact the maximum number of real events supported in a Process mining app.
1. Select the process model type for your process app.
2. Select Next.
The "directly follows" relationship represents the order in which activities occur in a process. It is based on event logs that contain records of activities performed during the execution of a process. By analyzing the event logs, Process Mining techniques can identify which activities are typically executed one after another. Between these two activities, an edge is defined as A➝B.
If, for example, paths A→B and C→D in a process can be performed in parallel, the activities of the two paths can occur in the event log in any order. In the "directly follows graph" approach, these events will not be considered to run in parallel, and the resulting process flow can be the following: A➝C➝B➝D.
A Discover Process Model or a BPMN process model however will take parallel structures into account.
Discovering a process model allows you to have a better understanding of your process structure. By analyzing the whole process (the whole event log) with advanced process mining techniques, activities that happen in parallel, are part of a decision, or are part of a more complex loop are automatically discovered. These relationships are called the process semantics.
Below is an overview of the process semantic types.
Semantic node type |
Description |
Visual representation |
Parallel gateway (AND) | Represents two or more branches that happen in parallel. | |
Exclusive choice gateway (XOR) | Represents an exclusive choice (decision point) between two or more branches. | |
Loop gateway | Represents a repeatable sub-process with one loop body path and one or more rework paths. |
Select Import BPMN model if you want to import your own BPMN 2.0 model and use it as a process model for your process app.
With the BPMN model, advanced process algorithms will map your event log data on top of the BPMN model, allowing you to analyze how the BPMN model and your data relate.
-
Drag and drop the
.bpmn
file that contains the BPMN 2.0 model you want to import. When the file is successfully imported, the Next button will be enabled.
If you want to use a different BPMN model after you created the process app, you can import a BPMN model in Process manager.
Below is an overview of the requirements to successfully import a BPMN 2.0 model for use in Process Mining.
General requirements for the BPMN model
-
The BPMN must adhere to the BPMN 2.0 standard.
-
The BPMN must contain a single process definition.
-
The BPMN can only contain supported elements.
-
All nodes in the BPMN should have an id.
-
The BPMN model should contain no more than 999 nodes.
Supported BPMN elements
The following BPMN elements ares supported:
-
Start events
-
End events
-
Tasks
-
Exclusive choice gateways
-
Parallel gateways
-
Sequence flows
Task and flow requirements
Requirement |
Example |
A start event must be defined, and there can only be one start event. | |
An end event must be defined, and there can only be one end event. | |
At least one activity task must be defined. | |
There must be at least two sequence flows defined for the BMPM model. | |
The tasks must have unique labels. | |
All sequence flows must have a source and a target. | |
Each task must have a single incoming, and a single outgoing sequence flow. | |
The start event only has a single outgoing edge. | |
The end event only has a single incoming edge. | |
All nodes and sequence flows in the BPMN are connected in a single model. |
Gateway requirements
The gateways in the BPMN must form pairs. Each pair has an opening gateway, which splits the process flow into multiple process flows. Each pair has a closing gateway, which joins the split process flows into a single flow. This structure is called a block. The flows inside a block may contain other, nested blocks. However, the only flows to enter and exit the flows within a block, are via the split and join gateways.
Below is an example of a BPMN model with gateway pairs, forming blocks. The blocks are highlighted.
Requirement |
Example |
Each gateway is either a split or a join gateway. | |
A split gateway has a single incoming edge, and at least 2 outgoing edges. | |
A join gateway has at least 2 incoming edges, and a single outgoing edge. | |
For every split gateway, there is a corresponding join gateway of the same type, and vice versa. | |
Every split-join gateway pair and the elements between them are a single-entry-single-exit component: a model component that has only a single entry edge and a single exit edge. | |
Each path from a split gateway its corresponding join gateway must also be a single-entry-single-exit. | |
There cannot be any direct sequence flows between corresponding splitting and joining parallel gateways. | |
Every exclusive choice split-join gateway pair that describes a loop flow to a previous point in the process cannot have an empty main path and an empty redo path, as this allows for indefinite looping without a task being executed. |
When you are creating a process app, follow the steps below to finish the app creation.
-
Review the app details.
-
Select Submit.
The process app is created and will be displayed in the Process apps in development list. A progress bar is displayed to indicate the progress of the data ingestion of your process app.
When the data ingestion is completed, the new app will be published and displayed in the Process apps in development list.
You can now customize the app and edit the transformations to your needs. See Customizing process apps.
The app is in development mode and only available in the development environment. To make the app available to business users, you must publish the app. See Publishing process apps.
Upload data using extractor
If you have selected the Upload data using extractor option in the Selecting the data source step, the Upload data using extractor step is displayed.
SAS uri
When loading data using an extractor, you use the SAS uri when setting up a destination connection. See Create a destination connection
End of upload API
When loading data using an extractor, you use the End of upload API in the post-event of in the extraction job to signal that the extraction was finished. See Create a job.
-
Copy the SAS and save it, for example, in a Notepad file.
-
Copy the End of upload API and save it, for example, in a Notepad file.
-
Select Finish.
Upload data using CData Sync
If you have selected the Use CData extractor option in the Selecting the data source step, the Upload data using CData step is displayed.
-
Copy the details for creating a destination connection from CDdata Sync and save them, for example, in a TXT file.
-
Copy the End of upload API and save it, for example, in a TXT file.
-
Select Finish.
-
Follow the steps described in Loading data using CData Sync and use the above details to set up CData Sync.
Upload data using Theobald Xtract Universal
If you have selected the Use Theobald extractor option in the Selecting the data source step, the Upload data using Theobald step is displayed.
-
Download the configuration files from Theobald.
-
Copy the shared access signature from Theobald and save it, for example, in a Notepad file.
-
Copy the End of upload API and save it, for example, in a Notepad file.
-
Select Finish.
-
Follow the steps described in Loading data using Theobald Xtract Universal and use the above details to set up Theobald Xtract Universal.
When you are creating an automation app, follow the steps below to finish the app creation.
-
Review the app details.
-
Select Submit.
The automation app will be published and listed on the Process apps tab.
Automation apps will show up as read-only apps in the Development tab. The following actions are available from the Actions menu for an automation app:
-
Manage permissions
-
Settings
-
Delete app
- Scenarios
- Creating a Process app
- Creating an Automation app
- Creating a new app
- Selecting the app template
- Defining the app properties
- Selecting the data source
- Use Theobald extractor
- Use CData extractor
- Use sample data
- Upload a dataset
- Upload data using extractor
- [Preview] Upload data using direct connection
- Selecting the automated process
- Selecting the process model
- Directly follows graph
- Discover process model
- Import BPMN model
- BPMN model requirements
- Finishing the app creation
- Process apps
- Automation apps