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: boolenable\_auto\_review: bool
must provide EITHER enable_review OR enable_auto_review
Outputs
Workflow with:
id: intname: strreviewEnabled: boolautoReviewEnabled: 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)
)Updated about 12 hours ago
What’s Next
