All Products
Search
Document Center

DataWorks:RerunWorkflowInstances

Last Updated:Jan 12, 2026

Reruns workflow instances.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
dataworks:RerunWorkflowInstancesupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ProjectIdlongYes

The project ID.

123
EnvTypestringNo

The environment of the workspace. Valid values:

Prod Dev

Prod
WorkflowIdlongYes

The workflow ID.

123
TypestringYes

The type of the workflow instance. Valid values:

ManualWorkflow.

ManualWorkflow
NamestringNo

The manual workflow name, used for fuzzy matching.

test
StartTriggerTimelongNo

The start trigger time (creation time) of the manual workflow instance used for matching. This parameter must be used together with EndTriggerTime.

1710239005403
EndTriggerTimelongNo

The end trigger time of the manual workflow instance used for matching. This parameter must be used together with the StartTriggerTime.

1710239005403
BizdatelongNo

The business date used for matching manual workflow instances.

1710239005403
StatusstringNo

The status used for matching manual workflow instances.

Valid values:

  • Success
  • Failure
Failure
IdsarrayNo

The instance IDs used for matching manual workflow instances.

longNo

The manual workflow instance ID.

12345
FilterobjectNo

The match conditions for internal instances of manual workflow instances.

RerunDownstreamEnabledbooleanNo

Specifies whether to rerun the matched instances and all downstream instances.

false
TaskIdsarrayNo

The internal task IDs used for matching manual workflow instances.

longNo

The internal task ID.

12345
TaskNamestringNo

The internal task name used for matching the manual workflow instance.

test
TaskInstanceStatusesarrayNo

The statuses of internal tasks used for matching manual workflow instances.

stringNo

The status of internal instances.

Failure
TaskTypesarrayNo

Match internal tasks within the manual workflow by type.

stringNo

The type of the internal task. For possible values of TaskType, see DataWorks nodes.

ODPS_SQL

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID. Used for troubleshooting and log tracking.

22C97E95-F023-56B5-8852-B1A77A17XXXX
OperationIdstring

The operation ID. You can use this value to query the creation result via the GetRerunWorkflowInstancesResult operation.

e15ad21c-b0e9-4792-8f55-b037xxxxxxxx

Examples

Sample success responses

JSONformat

{
  "RequestId": "22C97E95-F023-56B5-8852-B1A77A17XXXX\n",
  "OperationId": "e15ad21c-b0e9-4792-8f55-b037xxxxxxxx\n"
}

Error codes

For a list of error codes, visit the Service error codes.