mirror of
https://github.com/kuaifan/dootask.git
synced 2026-07-31 10:25:59 +00:00
2.4 KiB
2.4 KiB
id, title, type, feature, scope, locale, aliases, related_tools, related_pages, prerequisites, negative, last_verified
| id | title | type | feature | scope | locale | aliases | related_tools | related_pages | prerequisites | negative | last_verified | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| project.flow.howto.edit | 编辑工作流节点 / 流转规则 / 负责人 | howto | project | end-user | zh |
|
|
|
|
|
v1.7.90 |
编辑工作流节点 / 流转规则 / 负责人
入口
- 桌面端:项目设置 → 「工作流」 → 节点列表
- 拥有者 / 管理员才可改
节点字段
| 字段 | 含义 |
|---|---|
name |
节点名(≤20 字符) |
status |
start / progress / test / end |
color |
节点色块(看板色条用) |
turns |
可流转到的节点 id 数组 |
userids |
节点负责人(限定只有这些人可让任务进入此节点) |
usertype |
add 追加 / replace 替换 / merge 合并任务负责人 |
userlimit |
是否锁定 userids(不允许其他人接手) |
columnid |
可选绑定到具体列 |
sort |
在列表中的展示顺序 |
改节点
- 在节点行点编辑
- 改字段后「保存」
- 服务端 update + WebSocket 推送
改 turns(流转规则)
- 多选「这个节点可以流转到哪些节点」
- 不在 turns 列表的节点禁止直接流转
- 想让任意流转 → 把所有节点都加入 turns
userids + usertype 联动
- usertype=add:拖任务到此节点,userids 中的人自动加入任务协作者
- usertype=replace:拖任务到此节点,任务负责人改为 userids 中的人
- usertype=merge:合并任务负责人 + userids 去重
- userlimit=1:非 userids 的人不能让任务流转到此节点
绑定 columnid 的副作用
- 看板视图拖任务跨列 → flow_item_id 自动同步
- 工作流视图拖任务跨节点 → column_id 自动同步
- 不绑定时两个视图各自独立
不支持
- 不能批量编辑多个节点
- 不能给节点单独配「跳过完成时间字段」之类的副作用
- 删除节点不会清理"卡在该节点的任务",需要手动改任务的 flow_item_id