Skip to main content
davidj137213
October 16, 2023
Question

Get error from Process Instance

  • October 16, 2023
  • 9 replies
  • 0 views

Hi all.

I would like to capture via API the error that has occurred within a process instance in Appian. I have tried to do it with several methods through the ProcessExecutionService, but I can't find a way to do it.

The error I want to capture is the one I can see within the process instance in the errors tab

Could you help me please?

    9 replies

    stefanhelzle0001
    October 16, 2023

    Sorry, that is not supported as of now. If you want to centralize incident management, true to send process alerts to an email inbox and process these emails.

    davidj137213
    October 18, 2023

    Thx Stefan. Finally after a quick research, I've seen that the operation can be done using PortalNotificationService (Appian API),  but it' s actually deprecated, and the recommendation is to use the tempo interface....but I can't find any replacement class in the API .... Tempo interface is just an interface, and can only be used in that context....

    It won't be possible in the future to access this information programatically?  Do you know when will this class be removed from API?

    stefanhelzle0001
    October 19, 2023

    "PortalNotificationService" is based on the old technology deprecated 8 years ago. This will not get you anywhere.

    As I said, as of now, there is no way to do that. At least not in the way that you tried it. If you share more context, we can start to think about more creative ways.