postAutoFlowsByIdRunWithHttpInfo method
Starts one durable run of a flow now.
Starts one durable run of a flow now. It runs the flow's published version if one is pinned, else its latest, and answers the run record it created. The run is bounded by the org's per-minute run-start budget and its in-flight concurrency ceiling; over either, or with the engine not ready, no run is started and no run id is burned.
Note: This method returns the HTTP Response.
Parameters:
- String id (required): ID is the flow to act on, from the path.
Implementation
Future<Response> postAutoFlowsByIdRunWithHttpInfo(String id,) async {
// ignore: prefer_const_declarations
final path = r'/v1/auto/flows/{id}/run'
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}