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
Set a refresh schedule before the upload. That will result in an automatic refresh attempt after the upload completes.
Ok but if report is not uploaded, i will get failure? What then?
- lbendlin1 year agoSuper User
correct the issue and try again?
- jaryszek1 year agoSuper User
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.