cancel
Showing results for 
Search instead for 
Did you mean: 

Execution time calculation on process studio

AlejandroAragon
Level 2
Dear RPA-people, "This is not a robot...yet"

We are sending an email to main users with the outcome of the process (Success vs Failure). The email contains process information including process start time, process end time and execution time. We are doing this through a calculation stage at the beginning of the process in the main page ([StartTime] = LocalTime()), and a multiple calculation at the end of the process (calc1: [EndTime] = LocalTime() ///calc2: [ExecutionTime] =  [EndTime]-[StartTime]).

Since I presume this information is stored in the logs or the queues, is there a better way I can extract that info (Start time, End-time, Execution-time) as a text variable or collection to add to the Outlook send email stage?

------------------------------
Aragon
------------------------------
1 REPLY 1

John__Carter
Staff
Staff
Hi Alejandro the information is in the BPASession table but unfortunately there is no easy way to get to it, so I think way you are currently solving the problem is the easiest option.

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------