Skip to main content

Lifecycle of a Sandgarden workflow

Overview

note

While this document is focused on workflows, individual steps within workflows share the same lifecycle.

Write/edit a workflow

First things first, design and build a workflow with Sandgarden. Or maybe you're updating an existing workflow based on the results of a previous run.

For more information on this process, check out Getting started with Sandgarden.

Push a workflow

Once it's built, use the Sandgarden CLI or Web UI to push the workflow to Sandgarden.

$ sand workflows push --name myWorkflow --file myWorkflowFile.py

See Workflow versions and tagging for more details on this process, and how workflow versioning works in Sandgarden.

Run a workflow

Run the workflow from the CLI, the API, or the Web UI.

$ sand runs start --workflow=myWorkflow:1 --payload='{}'

See the results

Review the results in the Web UI or via CLI or API. Based on the outcome, you may consider your workflow complete, or you may go back to make further changes.