Property description

The workflowTransitionStateFilter clause filters objects based on workflow transitions and approval criteria.

Minimal JSON

{
  "type": "workflowTransitionStateFilter",
  "workflowTransitions": [
    {
      "fromKey": "",
      "toKey": ""
    }
  ]
}

Nested properties

Warning

At least one of minApprovedBy or minApprovedByPercent must be defined. Both can be set together.

PropertyDescriptionValuesMandatory
typeworkflowTransitionStateFilterstringYes
workflowTransitionsArray of workflow transitions the filter applies to. See workflowTransitions properties.arrayYes
minApprovedByNumber of people who approved the transition. For example, if 2 (out of 3) is set, the object will continue in the stream despite the workflow state not changing.integerYes
minApprovedByPercentNumber of people who approved the transition in percentage. For example, if 75 percent is set, the object will continue in the stream despite the workflow state not changing.integerYes
userRelationTypeKeysKeys of user relation types that approve the workflow transition.array of stringsNo

workflowTransitions properties

PropertyDescriptionValuesMandatory
fromKeyKey of the workflow state where the transition begins.stringYes
toKeyKey of the workflow state where the transition ends.stringYes