process-mining
latest
false
UiPath logo, featuring letters U and I in white

Process Mining

Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Feb 28, 2025

Configuring fields for Automation potential

Event_cost and Event_processing_time

Event_cost and Event_processing_time used to calculate Automation potential are not part of the input data. You can configure these fields for the event log in Data transformations using SQL statements.
The following code block shows an example SQL query to define Event_cost.
case
            when tableA."Activity" = 'ActivityA'
                then {{ pm_utils.to_double(20.00) }}
            when tableA."Activity" = 'ActivityB'
                then {{ pm_utils.to_double(10.00) }}
            when tableA."Activity" = 'ActivityC'
                then {{ pm_utils.to_double(5.00) }}
            when tableA."Activity" = 'ActivityD'
                then {{ pm_utils.to_double(0) }}
     end as "Event_cost"case
            when tableA."Activity" = 'ActivityA'
                then {{ pm_utils.to_double(20.00) }}
            when tableA."Activity" = 'ActivityB'
                then {{ pm_utils.to_double(10.00) }}
            when tableA."Activity" = 'ActivityC'
                then {{ pm_utils.to_double(5.00) }}
            when tableA."Activity" = 'ActivityD'
                then {{ pm_utils.to_double(0) }}
     end as "Event_cost"
The following code block shows an example SQL query to define Processing_time.
case
            when tableA."Activity" = 'ActivityA'
                then 5
            when tableA."Activity" = 'ActivityB'
                then 12
            when tableA."Activity" = 'ActivityC'
                then 30
            when tableA."Activity" = 'ActivityD'
                then 4
     end as "Event_processing_time"case
            when tableA."Activity" = 'ActivityA'
                then 5
            when tableA."Activity" = 'ActivityB'
                then 12
            when tableA."Activity" = 'ActivityC'
                then 30
            when tableA."Activity" = 'ActivityD'
                then 4
     end as "Event_processing_time"

Providing data input using dbt seeds

For process apps that still contain the Automation_estimates_raw.csv seeds file in the seeds\ folder of the data transformations, you can use this file to provide input data to be used for the calculations in the Automation potential dashboard. For all activities, you can provide the Event_processing_time (in milliseconds) and the Event_cost. The following illustration showns an example.
Example seeds file
Note:

If the event_processing_time is provided using the Automation_estimates_raw.csv seeds file, but not filled in for all activities, the Manual processing time for the remaining activities is NULL by default. Consider using the average throughput time as the event_processing_time for these activities.

Note:
If you are using an app template where you provide an event_log as input, you can also specify the event_processing_time as a column in that file. Values specified on event level will take precedence over values specified per activity using the seed file.
  • Event_cost and Event_processing_time
  • Providing data input using dbt seeds

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.