You can call SubmitFlow operation to submit and run a workflow.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes SubmitFlow

The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to SubmitFlow.

FlowId String Yes F-FD06A29AF6D2****

The ID of the workflow. You can call ListFlowInstance View the workflow ID.

ProjectId String Yes FP-AC84F265C8E4****

The ID of the project. You can call ListFlowProject View the ID of the project.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

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

The configuration information in the {"key":"value"} format.

In this example, cyctime indicates the actual scheduled running time (long integer timestamp).

Response parameters

Parameter Type Example Description
Data String FI-7A39731FE719****

A deprecated parameter.

Id String FI-7A39731FE719****

The ID of the workflow instance.

InstanceId String FI-7A39731FE719****

A deprecated parameter.

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

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=SubmitFlow
&FlowId=F-FD06A29AF6D2****
&ProjectId=257A173659F5****
&RegionId=cn-hangzhou
&<common request parameters>

Sample success responses

XML format

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

JSON Syntax

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