和顺 / 影核 返回所属 Agent
YH-09.03

变更闭环

原能力

记录批准、回退或延期状态,核对受影响岗位是否接到新版本。(细化版 p.12–13)

首选项目

Zou(AGPL-3.0)。 Zou

匹配范围

任务状态与人工流程记录批准、回退或延期。

源码

Zou · def create_comment(

zou/app/services/comments_service.py · 92–105 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
def create_comment(
    person_id,
    task_id,
    task_status_id,
    text,
    checklist=None,
    files=None,
    created_at="",
    links=None,
    with_hashtags=True,
    for_client=False,
    _fired_automations=None,
    _automation_depth=0,
):

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

实现与验收要点

发放新版本、撤回旧稿及各岗位回执。