Digital Exchange

Expand all | Collapse all

Standardize exception naming

  • 1.  Standardize exception naming

    Posted 07-03-2020 04:33
    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.  RE: Standardize exception naming

    Posted 07-03-2020 10:02
    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.
    ------------------------------



  • 3.  RE: Standardize exception naming

    Posted 07-06-2020 03:52
    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
    ------------------------------