Repository navigation
Conversation
- FlowContent 新增 backNodes:只包含当前记录真实执行过的历史节点, 倒序去重保证"最近经过的节点"优先(停留在 C 时为 B、A), 且没有候选时不向展示按钮集合下发 RETURN,修正开始节点 "退回按钮可点但提交必然失败"的错误交互(issue #270) - BackNodeHelper 新增 historyBackNodes,按记录 id 正序倒序遍历历史记录, 同一节点多次执行只保留最近一次,未执行的分支节点天然被排除 - ActionManager 收紧 RETURN 校验:开始节点不支持退回; 退回目标必须存在于当前记录的历史执行链(并行/条件分支中 "结构上不是下游但从未执行"的节点同样被拒绝) - FlowStateException 新增 nodeNotSupportReturn / backNodeNotInHistory - BaseAction.show 兼容缺少 display 配置的旧流程数据,避免详情接口空指针 - 新增 FlowIssue270ReturnNodeControlTest(历史候选、最近优先、未执行分支拒绝、开始节点) Closes #270
…control fix: 退回候选节点改为基于执行历史并收紧退回校验 (#270)
- 新增 FlowReissueService:仅流程管理员可对已正常完成(FINISH)的流程执行二次发起 - 复制源流程表单数据通过标准创建流程重新发起,新流程停在开始节点成为原发起人的待办, 不自动提交;源流程记录、待办与历史记录不做任何改写 - 新增关系记录 FlowReissueRecord / t_flow_record_reissue 及仓储(JPA + Mock)与达梦序列 - 新增 FlowRecordReissueEvent,供业务方同步已落库数据状态 - 详情接口新增 reissue 标识,新增 POST /api/cmd/record/reissue - 补充单元测试与集成文档 Closes #272
- 新增 IFlowEventPublisher SPI 与 FlowEventPublisher 门面;IFlowEvent 增加 eventKey() 分区键(默认 processId) - 引擎内全部事件推送点由 EventPusher 收敛到 FlowEventPublisher,未注册实现时自动回退,行为不变 - starter 新增 SpringFlowEventPublisher:事务 afterCommit 投递(回滚不投递)、按 eventKey 分区单线程串行、 同步执行 handler 以获得确定顺序、单 handler 异常不影响后续事件 - 新增配置 codingapi.flow.event.ordered(默认开启) - 补充发布门面与发布器单元测试,更新事件集成文档与 AGENTS.md Closes #274
feat: 已完成流程支持二次发起 (framework + infra + api)
feat: 流程事件统一走 FlowEventPublisher,保证提交后投递与按流程串行
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.