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