Skip to main content
harshs684550
November 15, 2022
Question

Optimize integration call in the interface

  • November 15, 2022
  • 2 replies
  • 0 views

Hi there,

We have a requirement where we are calling  an API on tab out of field. If we have 20 fields 20 API calls will happen and in the payload we are every sending field. I know calling a integration in saveInto is asynchronous ,but loading will complete when all saveintos are executed.Is there any way to optimize it, because latency is very high (It is taking around 1 min to complete the loading). can we make it truly async like React or js based applications?

    2 replies

    harshm2984
    November 15, 2022

    Hi Harsh,

    Can you explain the use case a bit more also do you have control over the API? 

    harshs684550
    November 15, 2022

    No we don't have control on APIs.

    Use Case - 

    1. Every user action is recorded , even he accidently enters a value in the field for auditing purpose.

    2. Suppose we have 5 textFields ,so for tabout of each field api will triggered(All the parallel execution and race condition stuff will be optimized by api guys ).

    Apart from API optimization ,can we do anything from appian side? Let's say I don't want to wait for response of first 4 calls, something like that?