Back to index
Summary
This call waits for a specified job to have a status ofcompleted
or exceed the default timeout
setting.jobIdStringrequiredThe primary key of the job in the UUID string format. Example: e6e905d9-f71c-11ee-bd78-024227a15b5a. timeoutIntegeroptionalThe number of seconds to wait before giving up on a request. The default is 60 seconds. pollIntervalIntegeroptionalThe number of seconds to wait between polling getJobStatus API request. The default is 5 seconds. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.waitForJobCompletion( jobId: "test-jobId" /* optional arguments */ )