Create a Basic Workflow

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

  • name: str Name of your workflow
  • dataset_id:int Dataset ID

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