cancel
Showing results for 
Search instead for 
Did you mean: 

Standardize exception naming

RogerBroechin
Level 2
We would like to "standardize" our exception naming in the way that every exception is in a format like "[object name] - [page / tab name]: some text"
Instead of doing this manually, we are looking for a more generic approach.

Is there a possibility to read the current object name and page name?
In this way we could have an "exception template" (with [object name] & " - " & [page name] & ": some more text" ), and only have to add the additional information / text.


We are automating a pretty big process with many application / objects.
Sometimes it is not so obvious from where the exception was thrown, especially for the people doing the operation / monitoring.

Thanks,
Roger


------------------------------
Roger Broechin
Developer
Helevetia Insurance
Europe/Zurich
------------------------------
2 REPLIES 2

Maybe you can use local variable for page name and Global variable for object name then you can use it on Exception details

------------------------------
Mark Joseph Apostol
RPA Developer
Merck Business Solutions Asia Inc.
------------------------------

John__Carter
Staff
Staff
Hi Roger unfortunately there are very few 'context' functions available to a process or object, and none to enable your idea. I've previously raised this issue via an internal enhancement request and you can do the same here. When enough people 'up vote' and idea, it goes to the product design team for consideration.

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