行动复核条件
原能力
记录继续研究、等候、保留现状或调整的触发条件及责任人。(细化版 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
Open Policy Agent · func (pq PreparedEvalQuery) Eval(
v1/rego/rego.go · 608–621 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
func (pq PreparedEvalQuery) Eval(ctx context.Context, options ...EvalOption) (ResultSet, error) {
ectx, finish, err := pq.newEvalContext(ctx, options)
if err != nil {
return nil, err
}
defer finish(ctx)
ectx.compiledQuery = pq.r.compiledQueries[evalQueryType]
return pq.r.eval(ctx, ectx)
}
// PreparedPartialQuery holds the prepared Rego state that has been pre-processed
// for partial evaluations.
- // Copyright 2017 The OPA Authors. All rights reserved.
实现与验收要点
有权负责人、实际时点、证据与合规批准。