Executing a Refresh Job from API Using Groovy Console Continuously Poll Status Assistance
Summary:
I am trying to construct a script in Groovy (not a business rule on the EPM server, but rather a pure Groovy script to be run on prem) to leverage the Planning API and call a simple cube refresh job. The job itself works fine, but using the given code, it only prints that the job is processing once. What I'd like to do is continuously poll the status until it is either 0 or not -1 and then return either "Error" or "Complete". The issue is that after I retrieve the first response, I'm not sure
Tagged:
0