Question

2
Replies
40
Views
Marco Member since 2018 10 posts
Ericsson
Posted: 2 years ago
Last activity: 2 years 2 months ago
Closed

Best practice to return error from automation

Hi all.

Do you have a "best practice" in order to return - for example - to Pega Platform or to Messagge Dialog, information about error type and object where the issue occurred?

For example, in WaitForCreate, in this case, if the method return false, I would return:

  • the automation name
  • the object Name
  • the internal error Message

For now i set this value manually or using object properties, as in the image.

It is the best way or are there any others (more fast way for all object in the automation)?

Best regards,
Marco

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn