Skip to main content
February 6, 2025
Question

Not getting refreshed data in Appian Interface from API response

  • February 6, 2025
  • 2 replies
  • 0 views

Hi Experts,

Need your help in one scenario.

I have one interface which is fetching a data in a local variable from an ER in which we are getting response from an API.

It is happening that we are getting the previous response in a rich text field(showing the local variable data) from the API for a particular value on an interface.

If we change the value then only we are getting a new response.

If we use same value again and again and setting different Timeout limit in the integration, the output we are getting from an API is same until and unless we change the value. 

Is Appian cached the value-API response on an interface?  

2 replies

varuntejg243705
February 6, 2025

Hi [mention:07fecfc9ac2942fcb65d4ac2b18a0037:e9ed411860ed4f2ba0265705b8793d05] ,

Yes, Appian caches API responses.

Possible outcomes :

1. If you are storing the API response in a local variable, it will not refresh unless the variable is updated explicitly.

2. Use refreshAlways: true in Local Variable (Or)

3. Use refreshInterval to Fetch Periodically

mathieud0001
February 6, 2025