Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 2.06 KB

File metadata and controls

67 lines (40 loc) · 2.06 KB

AutomateWorkflowsManager

List Automate workflows defined as callable actions

Returns workflow actions from Automate for a folder, using the WORKFLOW action category.

This operation is performed by calling function getAutomateWorkflowsV2026R0.

See the endpoint docs at API Reference.

try await adminClient.automateWorkflows.getAutomateWorkflowsV2026R0(queryParams: GetAutomateWorkflowsV2026R0QueryParams(folderId: workflowFolderId))

Arguments

  • queryParams GetAutomateWorkflowsV2026R0QueryParams
    • Query parameters of getAutomateWorkflowsV2026R0 method
  • headers GetAutomateWorkflowsV2026R0Headers
    • Headers of getAutomateWorkflowsV2026R0 method

Returns

This function returns a value of type AutomateWorkflowsV2026R0.

Returns workflow actions that can be manually started.

Start Automate workflow

Starts an Automate workflow manually by using a workflow action ID and file IDs.

This operation is performed by calling function createAutomateWorkflowStartV2026R0.

See the endpoint docs at API Reference.

try await adminClient.automateWorkflows.createAutomateWorkflowStartV2026R0(workflowId: workflowAction.workflow.id, requestBody: AutomateWorkflowStartRequestV2026R0(workflowActionId: workflowAction.id, fileIds: [workflowFileId]))

Arguments

  • workflowId String
    • The ID of the workflow. Example: "12345"
  • requestBody AutomateWorkflowStartRequestV2026R0
    • Request body of createAutomateWorkflowStartV2026R0 method
  • headers CreateAutomateWorkflowStartV2026R0Headers
    • Headers of createAutomateWorkflowStartV2026R0 method

Returns

This function returns a value of type ``.

Starts the workflow.