Update Workflow Settings

Introduction

The UpdateWorkflowSettings mutation can toggle Review and Auto Review for a given workflow.

UpdateWorkflowSettings

Inputs

  • workflow: Union\[Workflow, int]
  • enable\_review: bool
  • enable\_auto\_review: bool

must provide EITHER enable_review OR enable_auto_review

Outputs

Workflow with:

  • id: int
  • name: str
  • reviewEnabled: bool
  • autoReviewEnabled: bool

Try It Out

You can try outUpdateWorkflowSettings below.

from indico.queries import UpdateWorkflowSettings

workflow_id = 123


client.call(
  UpdateWorkflowSettings(
    workflow_id=workflow_id, 
    enable_review=True, 
    enable_auto_review=False)
)


What’s Next