Update Workflow Settings

{{{{Text here}}}

Introduction

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

GetSubmission

Inputs

πŸ“₯

UpdateWorkflowSettings Inputs

workflow: Union[Workflow, int],
enable_review: bool
enable_auto_review: bool

must provide EITHER enable_review OR enable_auto_review

Outputs

πŸ“€

UpdateWorkflowSettings 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