cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RobertSlattery
Regular Visitor

Polling Power BI Dataset refresh status (statusCode)

When a Dataset is refreshed with the Refresh a dataset action, querying statusCode will return 202 as soon as the refresh is triggered.  I want to confirm that the refresh completed and test if it is 200 or 400 afterwards, to check if it was successful but, running int(actions('Refresh_a_dataset').outputs.statusCode) always returns 202.  How can I get the status to update after the refresh has completed?  I can see from the refresh history that it was well and truly completed before the do while timed out. 

RobertSlattery_0-1659964119314.png

 

0 REPLIES 0

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,611)