【代码评审】BPM:触发器 HTTP 异步
This commit is contained in:
@@ -9,7 +9,6 @@ import jakarta.validation.constraints.NotEmpty;
|
||||
*/
|
||||
public interface BpmProcessTaskApi {
|
||||
|
||||
|
||||
/**
|
||||
* 触发流程任务的执行
|
||||
*
|
||||
@@ -18,4 +17,5 @@ public interface BpmProcessTaskApi {
|
||||
*/
|
||||
void triggerTask(@NotEmpty(message = "流程实例的编号不能为空") String processInstanceId,
|
||||
@NotEmpty(message = "任务 Key 不能为空") String taskDefineKey);
|
||||
|
||||
}
|
||||
|
@@ -19,7 +19,7 @@ public enum BpmTriggerTypeEnum implements ArrayValuable<Integer> {
|
||||
HTTP_REQUEST(1, "发起 HTTP 请求"),
|
||||
FORM_UPDATE(2, "更新流程表单数据"),
|
||||
FORM_DELETE(3, "删除流程表单数据"),
|
||||
HTTP_REQUEST_ASYNC(4, "发起异步 HTTP 请求");
|
||||
HTTP_REQUEST_ASYNC(4, "发起异步 HTTP 请求"); // TODO @jason:发起 HTTP 回调
|
||||
|
||||
/**
|
||||
* 触发器执行动作类型
|
||||
|
Reference in New Issue
Block a user