意见和接管记录
原能力
记录负责人继续、等待、维持或要求补证的意见,留存生效条件和复核时间。(细化版 p.16–17)
首选项目
Flowable(Apache-2.0(开源引擎))。 Flowable
匹配范围
人任务、状态转移与历史记录。
源码
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
Wagtail · def save_revision(
wagtail/models/revisions.py · 384–397 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
def save_revision(
self,
user=None,
approved_go_live_at=None,
changed=True,
log_action=False,
previous_revision=None,
clean=True,
overwrite_revision=None,
):
"""
Creates and saves a revision.
:param user: The user performing the action.
实现与验收要点
具名责任、正式意见效力及未决外部执行事实。