Back to index
Summary
This call waits for flow runtime to have a status ofcompleted
or exceed the default timeout
setting.flowRuntimeIdStringrequiredThe ID of the flow runtime 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.waitForFlowRuntimeCompletion( flowRuntimeId: "test-flowRuntimeId" /* optional arguments */ )