和顺 / 衡律 返回所属 Agent
16.5

交易后检查与整改

原能力

进行交易后检查和整改,区分已发生事实、例外和待处理事项。(合同附件 R7 16.5)

首选项目

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

OpenProject · class WorkPackage

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

源码片段
class WorkPackage < ApplicationRecord
  include WorkPackage::SemanticIdentifier
  include WorkPackage::Validations
  include WorkPackage::SchedulingRules
  include WorkPackage::StatusTransitions
  include WorkPackage::AskBeforeDestruction
  include WorkPackage::TimeEntriesCleaner
  include WorkPackage::Ancestors
  include WorkPackage::Automatable
  include WorkPackage::Hooks
  include WorkPackage::Origin
  # Must stay above WorkPackage::Journalized: its after_save persists the
  # version rows that the journal snapshot then reads.
  include WorkPackage::Versions
  • #-- 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.

实现与验收要点

交易后校验口径、责任、处置与再开放权源。