Skip to content

add flow event.md #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions flow-event.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 流程事件触发机制

* 发起流程
事件: CREATE TODO SAVE
* 保存流程
事件: SAVE
* 提交流程
事件: PASS TODO(下一个节点记录数据)
* 驳回流程
事件: REJECT TODO(下一个节点记录数据)
* 撤回流程
事件: RECALL
* 删除流程
事件: DELETE
* 作废流程
事件: VOIDED
* 退回流程
事件:BACK
* 流程结束
事件: FINISH
* 转办流程
事件:TRANSFER TODO(下一个节点记录数据)
* 唤醒流程
事件: TODO
* 催办流程
事件: URGE 当前审批人
* 延期流程
事件: 未发送事件

---------------------
自定义事件:是前端自己触法的逻辑
自定义接口:是执行后端按钮配置的脚本

在开始节点点击任何按钮的时候,若流程不存在则会先执行流程的创建,然后再执行对应的按钮操作。


Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public void notifyFlow(String processId, IFlowOperator currentOperator) {


/**
* 自定义事件
* 自定义接口
*
* @param recordId 流程记录id
* @param currentOperator 当前操作者
Expand Down