label: 'Workflow type'
type_settings:
type: workflow.type_settings.[%parent.type]
- label: 'Custom settings for workflow type'
- states:
- type: sequence
- label: 'States'
- sequence:
- type: mapping
- label: 'State'
- mapping:
- label:
- type: label
- label: 'Label'
- weight:
- type: integer
- label: 'Weight'
- transitions:
+
+workflows.state:
+ type: mapping
+ mapping:
+ label:
+ type: label
+ label: 'Label'
+ weight:
+ type: integer
+ label: 'Weight'
+
+workflows.transition:
+ type: mapping
+ mapping:
+ label:
+ type: label
+ label: 'Transition label'
+ from:
type: sequence
- label: 'Transitions'
+ label: 'From state IDs'
sequence:
- type: mapping
- label: 'Transition from state to state'
- mapping:
- label:
- type: label
- label: 'Transition label'
- from:
- type: sequence
- label: 'From state IDs'
- sequence:
- type: string
- label: 'From state ID'
- to:
- type: string
- label: 'To state ID'
- weight:
- type: integer
- label: 'Weight'
+ type: string
+ label: 'From state ID'
+ to:
+ type: string
+ label: 'To state ID'
+ weight:
+ type: integer
+ label: 'Weight'