Open rickymedrano opened 3 months ago
I've also tried getting job.status
but it always returns JobStatus.EXECUTING
, way after the job already completed. So I try using job.fetch() to see if it will update the JobStatus but the method immediately errors out saying the Job is not found once the job finishes.
Hi @rickymedrano
We will provide the code snippet required to do exactly that with next release.
Hi, how would it be possible to know if a Job failed? Specifically, I'm refreshing a cube with:
But if the refresh fails, it doesnt detect it, it's only checking if the refresh is still happening. I'm not seeing any obvious methods in the Job or OlapCube objects to determine if a refresh failed. Ideally I can detect when it fails and display the reason for failure, the same error message I see in Workstation>Monitors>Jobs tab. Thanks