Types

ApprovalWorkflowStep

One step of an approval workflow, with the steps that follow it.

idrequired
integer
The id of the step. It changes whenever the workflow is replaced.
namerequired
string
The name of the step.
descriptionrequired
string
What the voters are asked to check at this step.
approval_labelrequired
string
The wording of the approve button at this step.
vote_typerequired
string
How many voters must approve for the step to pass. single: one voter. majority: more than half of the voters. unanimous: every voter.One of: single, majority, unanimous
votersrequired
object[]
The users who vote at this step.
next_stepsrequired
The steps that follow once this one passes. Each has the same fields as this step. A step with no next steps ends the workflow.