创作口径确认
原能力
汇总创作者确认的内容及分歧,记录哪些要求仍由负责人决定。(细化版 p.12–13)
首选项目
Wagtail(BSD-3-Clause)。 Wagtail
匹配范围
修订与人工审阅记录确认、拒绝和补改。
源码
Wagtail · class WorkflowState(models.Model)
wagtail/models/workflows.py · 121–134 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
class WorkflowState(models.Model):
"""Tracks the status of a started Workflow on an object."""
STATUS_IN_PROGRESS = "in_progress"
STATUS_APPROVED = "approved"
STATUS_NEEDS_CHANGES = "needs_changes"
STATUS_CANCELLED = "cancelled"
STATUS_CHOICES = (
(STATUS_IN_PROGRESS, _("In progress")),
(STATUS_APPROVED, _("Approved")),
(STATUS_NEEDS_CHANGES, _("Needs changes")),
(STATUS_CANCELLED, _("Cancelled")),
)
Flowable · public interface TaskService
modules/flowable-engine/src/main/java/org/flowable/engine/TaskService.java · 46–59 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
public interface TaskService {
/**
* Creates a new task that is not related to any process instance.
*
* The returned task is transient and must be saved with {@link #saveTask(Task)} 'manually'.
*/
Task newTask();
/** create a new task with a user defined task id */
Task newTask(String taskId);
/**
* Create a builder for the task
实现与验收要点
原创口径、创作决策权、未定问题及争议。