Forum Discussion
How to measure time of report uploading using REST APIs?
- 1 year ago
There's nothing else available beyond the polling you are already doing.
If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com
correct the issue and try again?
My workflow for customer should ends after uploading and refreshing report.
So the sequence of rest apis will create workspace, upload report and refresh after updating.
If refresh lasts 30 min i need to know it somehow to trigger rest api immidietely after it is done.
Sheduled refresh will not work in this case.
Best,
Jacek
- lbendlin1 year agoSuper User
There is no guarantee that a refresh request will be honored. There is no guarantee that a refresh will complete successfully. If a refresh fails you should not automatically retry (looking at you, Microsoft!!!!) but should first investigate and correct the issue.
This is not something you can fully automate.
- jaryszek1 year agoSuper User
I am catching the whole idea but still if this will check status i could wrap it in some java code not in the loop but waiting for the result and make the action like: If succed--> refresh., if failure --> throw an error and fix the report.
Not workaround loops and waiting some time to try refresh.
Best,
Jacek