Loading Interface during Integration Call

Hi everybody,

we need to display a "loading" interface (an image or a gif) while we call an integration (through a button, which needs to be the only user interaction) that takes a couple of minutes to complete. We tried using both refresh variables and showWhen logics but neither worked as Appian waited to complete the integration "call" before displaying anything. We also tried using a process model with an AND gate but the user input task node needs to be "attended" so it can't be used without the user interaction. Do you guys have any suggestions?

  Discussion posts and replies are publicly visible

  • 0
    Certified Senior Developer

      : Previously, we encountered the same internal requirement and faced a similar issue.

    However, our solution involved utilizing the submit button, which offers the option to display a loading indicator. This remains your sole available option.

  • 0
    Certified Lead Developer

    Hi ,

    After reading your approach looks like, you are triggering the integration from UIT. You can try following steps.

    1. Submit the UIT and call the integration Asynchronously in a subprocess.
      1. Once integration is complete write the success log in the database.
    2. Routes the flow back to same or other UIT displaying a refresh icon or image.
      1. Use a refresh variable to check success log of the integration. You can use 'refreshInterval' property.
      2. Once log is received hide the refresh image and display success message and follow the workflow.

    Please revert if you face any challenge with this approach.