Skip to main content
Nintex Community Menu Bar

Hello,

I have a SFX skuid REST data source that queries a Snowflake REST API.  I am able to successfully get results on page load with query on page load on, but when I turn off query on page load and I add a button action to query the REST data source model, I don’t get any results.  

Rest Data Source Model - When Query on Page load is true, I get results on page load.


Query Model Button Action - When I click this button, the model doesn’t return any results when Query on Page Load is false.  Also, if I click this button after page load with Query on Page load on and there are results in my model, the data is removed and new data is not successfully replaced.  

 

Is there anything I am doing wrong with my action for querying the Rest Data source?

Hi Mason,

In regards to no query on page load and using a button, I don’t see anything wrong with your action and I would also expect it to work. Have you checked the network tab in the console to see if there is any difference between the query on page load vs when using the button?

For the query on page load and using a button, the behavior is what I would expect. When the Query behavior is Standard - Completely replace data it removes any records already in the model and replaces them with the newly queried records. From the dropdown, the other action to Get more will merge in the new with the old. Here’s a link to the docs on that.

-Matt


Hi @MasonM have you resolved your issue?


No, the issue is still outstanding.  We checked the console and the page load response vs. query model response on a button is slightly different.  We are able to confirm the data is sent with both responses, but Skuid is unable to process and render the data in the UI on the query model response.  It only works on page load.


Hi @MasonM ,

Is the same data in the network response in both scenarios, and is there data in the Skuid model in both scenarios?


Reply