handling exceptions in integrations

Certified Senior Developer

how can we handle integration exceptions when called from process and also when called from interface

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    First I try to separate availability from errors.

    Availability of connected system is a more long-term issue and can be made visible to the user on the app main screen. Think of something like: "Hey this backend system is not available and the app will not work. Admins are working on it. Check this link for more information."

    Errors are a kind of short-term absence of connected systems. Here I have at least two different scenarios

    UI: Simple, just let Appian show the red error boxes. Not pretty but users will understand it.

    Process: If a business decision relies on data coming from a connected system, you must check success and call the error() function in case you are not able to make that decision. Process will stop with admins being notified. In case the date is not important to continue in process, a rare situation, skip the check and just ignore it.

    Does that help?

  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    thanks for your answer

Reply Children
No Data