generated from coulomb/repo-seed
Implemented foundation of task-flow-engine
This commit is contained in:
45
flows/workstream.yaml
Normal file
45
flows/workstream.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
id: custodian.workstream.v1
|
||||
entity_type: workstream
|
||||
workstations:
|
||||
- name: todo
|
||||
description: Planned but not yet active.
|
||||
entry_assertions: []
|
||||
exit_assertions: []
|
||||
- name: active
|
||||
description: Work is underway.
|
||||
entry_assertions: []
|
||||
exit_assertions:
|
||||
- id: dependencies.all_complete
|
||||
target: dependencies.*.workstation
|
||||
op: all_eq
|
||||
value: completed
|
||||
description: Dependency workstreams have reached completed.
|
||||
- name: blocked
|
||||
description: Work is blocked by incomplete dependencies or missing input.
|
||||
entry_assertions:
|
||||
- id: dependencies.any_incomplete
|
||||
target: dependencies.*.workstation
|
||||
op: custom
|
||||
value: completed
|
||||
description: At least one dependency is not completed.
|
||||
exit_assertions:
|
||||
- id: dependencies.all_complete
|
||||
target: dependencies.*.workstation
|
||||
op: all_eq
|
||||
value: completed
|
||||
description: All dependency workstreams have reached completed.
|
||||
- name: completed
|
||||
description: Work is complete.
|
||||
entry_assertions:
|
||||
- id: tasks.all_done
|
||||
target: tasks.*.status
|
||||
op: all_eq
|
||||
value:
|
||||
- done
|
||||
- cancelled
|
||||
description: All child tasks are done or cancelled.
|
||||
exit_assertions: []
|
||||
- name: archived
|
||||
description: Completed work has been moved out of the active set.
|
||||
entry_assertions: []
|
||||
exit_assertions: []
|
||||
Reference in New Issue
Block a user