You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!