Refresh list of data from API

Hi John,

This is most likely because we cache API calls that don’t change - so if the call to get all messages doesn’t include any parameters that will change with each “display list” action, the list won’t update to reflect the current data. Assuming that you have a repeating group set up that makes a GET call to a list of messages from an API, I’d take the following steps:

  • Add a parameter to the GET call that will always be unique every time the call is made. A millisecond timestamp parameter is a good option for this.
  • In the workflow that creates a new message, make sure to add a “display list” action to re-call the API in the repeating group.
  • With the addition of the new parameter, the call will be different from the last, and so we’ll no longer pull from the cache, but instead, we’ll make a new call and get the updated messages.

Let me know if you have any questions about this!

1 Like