和顺 / 共识 返回所属 Agent
GS-06.03

整改与风险复核

原能力

汇总重大风险、整改依据和剩余约束,跟踪责任人确认。(细化版 p.14–15)

首选项目

OpenProject(GPL-3.0(社区代码))。 OpenProject

匹配范围

整改工作包及人工复核流支持责任和处置记录。

源码

OpenProject · class Journal

app/models/journal.rb · 30–43 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
class Journal < ApplicationRecord
  self.table_name = "journals"
  self.ignored_columns += ["activity_type"]

  include ::JournalChanges
  include ::JournalFormatter
  include ::Acts::Journalized::FormatHooks
  include Journal::Timestamps
  include Reactable

  # Inline attachments for Journal#notes aka comments
  acts_as_attachable view_permission: :view_work_packages,
                     add_on_new_permission: :add_work_package_comments,
                     add_on_persisted_permission: :edit_own_work_package_comments,
  • #-- copyright
  • # Copyright (C) the OpenProject GmbH
  • # OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
  • # Copyright (C) 2006-2013 Jean-Philippe Lang
  • # Copyright (C) 2010-2013 the ChiliProject Team
  • # See COPYRIGHT and LICENSE files for more details.

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

实现与验收要点

风险严重度、验证证据与关闭决定。