@RestController @RequestMapping(value="/erupt-api/erupt-flow") public class ProcessDefinitionController extends Object
| 构造器和说明 |
|---|
ProcessDefinitionController() |
| 限定符和类型 | 方法和说明 |
|---|---|
xyz.erupt.core.view.EruptApiModel |
getFormGroups(String keywords)
查询所有表单分组
包含流程定义
|
xyz.erupt.core.view.EruptApiModel |
preview(String formDefId,
com.alibaba.fastjson.JSONObject formContent)
预览流程时间线
|
xyz.erupt.core.view.EruptApiModel |
startById(String procDefId,
com.alibaba.fastjson.JSONObject formContent)
启动流程,会启动当前流程的最新版本
|
xyz.erupt.core.view.EruptApiModel |
timeline(Long instId)
查看流程实例的时间线
|
@GetMapping(value="/process/groups") @EruptRouter(verifyType=LOGIN) public xyz.erupt.core.view.EruptApiModel getFormGroups(String keywords)
@PostMapping(value="/process/start/form/{procDefId}")
@EruptRouter(verifyType=LOGIN)
public xyz.erupt.core.view.EruptApiModel startById(@PathVariable
String procDefId,
@RequestBody
com.alibaba.fastjson.JSONObject formContent)
@PostMapping(value="/process/timeline/preview/{formDefId}")
@EruptRouter(verifyType=LOGIN)
public xyz.erupt.core.view.EruptApiModel preview(@PathVariable(value="formDefId")
String formDefId,
@RequestBody
com.alibaba.fastjson.JSONObject formContent)
@PostMapping(value="/process/timeline/{instId}")
@EruptRouter(verifyType=LOGIN)
public xyz.erupt.core.view.EruptApiModel timeline(@PathVariable(value="instId")
Long instId)
Copyright © 2023. All rights reserved.