Create a Basic Workflow

Introduction

A basic Workflow is a blank slate. It only contains one node, the input node. Workflow components can be added to a basic Workflow after the fact.

Documentation for creating a Workflow through the Indico App can be found on our knowledge base

🚦

Prerequisites

At least one dataset must exist for the user creating a Workflow.

CreateWorkflow

Inputs

📥

CreateWorkflow Inputs

name: str Name of your workflow

dataset_id:int dataset.id

Outputs

📤

CreateWorkflow Outputs

id: int
name: str
status: str
review_enabled: bool
auto_review_enabled: bool
components: List[WorkflowComponent]
component_links: List[WorkflowComponentLinks]
created_by: int
created_at: datetime
submission_runnable: bool

Try It Out

Try out the CreateWorkflow call:

from indico.queries import CreateWorkflow

dataset_id = 123
wf_name = "My Workflow"

wf = client.call(CreateWorkflow(dataset_id=datset_id, name=wf_name))


What’s Next