Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Serverless Integrations
  • Comparison with other Yandex Cloud services
    • All guides
        • Starting a workflow
        • Starting a workflow execution on a timer
        • Stopping a workflow execution
        • Terminating a workflow execution
    • Viewing operations with service resources
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Public materials
  • Release notes
  1. Step-by-step guides
  2. Workflows
  3. Managing a workflow execution
  4. Stopping a workflow execution

Stopping a workflow execution

Written by
Yandex Cloud
Updated at June 27, 2025

If you stop a workflow execution, Workflows will first wait for the current active step to complete. Follow this guide to interrupt the step that is currently active: Terminating a workflow execution.

Management console
CLI
API
  1. In the management console, navigate to the folder where the workflow execution is in progress.
  2. Select Serverless Integrations.
  3. In the left-hand panel, click Workflows and select a workflow.
  4. In the left-hand panel, click Executions.
  5. Next to the execution, click and select Stop.

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. See the description of the CLI command to stop a workflow execution:

    yc serverless workflow execution stop --help
    
  2. Specify a workflow ID to get a list of workflow executions:

    yc serverless workflow execution list --workflow-id <workflow_ID>
    

    Result:

    executions:
      - id: dfq...e78
        workflow_id: dfqud9cbc4k5********
        status: FINISHED
        started_at: "2025-03-10T15:54:44.304781814Z"
        duration: 1.070697344s
      ...
      - id: dfq...4d5
        workflow_id: dfqud9cbc4k5********
        status: FINISHED
        started_at: "2025-03-10T15:05:19.982768956Z"
        duration: 0.971907165s
    
  3. Stop a workflow execution:

    yc serverless workflow execution stop <workflow_execution_ID>
    

    Result:

    execution_id: dfqmeu8ci1ae2tvocsbv-429e9f6f-b506-4c5a-84b2-9abb********
    

To stop a workflow execution, use the stop REST API method for the Execution resource or the ExecutionService/Stop gRPC API call.

Was the article helpful?

Previous
Starting a workflow execution on a timer
Next
Terminating a workflow execution
© 2025 Direct Cursus Technology L.L.C.