You can call this operation to submit a workflow.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SubmitFlow

The operation that you want to perform. Set the value to SubmitFlow.

FlowId String Yes F-7A39731FE7196358

The ID of the workflow.

ProjectId String Yes 257A173659F59685

The ID of the project.

RegionId String Yes cn-hangzhou

The ID of the region where your project resides.

Conf String No {"cyctime":"1542783967503"}

The configuration parameters for the workflow, formatted in {"key":"value"}. cyctime specifies the scheduling time of the workflow. It is a timestamp whose data type is LONG.

Response parameters

Parameter Type Example Description
Data String x

This parameter is unavailable.

Id String FI-7A39731FE7196358

The ID of the workflow instance.

InstanceId String x

This parameter is unavailable.

RequestId String 243D5A48-96A5-4C0C-8966-93CBF65635ED

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=SubmitFlow
&FlowId=F-7A39731FE7196358
&ProjectId=257A173659F59685
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<SubmitFlowResponse>
  <RequestId>2670BCFB-925D-4C3E-9994-8D12F7A9F538</RequestId>
	  <Id>FI-7A39731FE719****</Id>
</SubmitFlowResponse>

JSON format

{
	"RequestId":"2670BCFB-925D-4C3E-9994-8D12F7A9F538",
	"Id":"FI-7A39731FE719****"
}

Error codes

For a list of error codes, visit the API Error Center.