| 程序包 | 说明 |
|---|---|
| in.clouthink.daas.sbpm.core.model | |
| in.clouthink.daas.sbpm.core.service | |
| in.clouthink.daas.sbpm.core.spi |
| 限定符和类型 | 方法和说明 |
|---|---|
ProcessInstance |
ProcessHistory.getProcessInstance() |
ProcessInstance |
ActivityInstance.getProcessInstance() |
| 限定符和类型 | 方法和说明 |
|---|---|
ProcessInstance |
WorkflowService.findProcessInstanceById(String processInstanceId)
根据id查询流程实例
|
ProcessInstance |
AbstractWorkflowService.findProcessInstanceById(String processInstanceId) |
ProcessInstance |
WorkflowService.startProcess(String processDefinitionId,
ActionRequest actionRequest,
UserReference user)
流程,用户行为自动定位在start活动,并标记该活动为完成状态
|
| 限定符和类型 | 方法和说明 |
|---|---|
ProcessInstance |
WorkflowRepository.deleteProcessInstance(String processInstanceId)
delete process instance by id
|
ProcessInstance |
WorkflowRepository.findProcessInstanceById(String instanceId)
find process instance by id
|
ProcessInstance |
WorkflowRepository.saveProcessInstance(ProcessInstance request)
save process instance
|
ProcessInstance |
WorkflowRepository.updateProcessInstance(String processInstanceId,
ProcessStatus processStatus)
update the status of process instance
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.data.domain.Page<ProcessInstance> |
WorkflowRepository.listProcessInstances(String processDefinitionId,
org.springframework.data.domain.Pageable pageable)
list the process instance by process definition
|
| 限定符和类型 | 方法和说明 |
|---|---|
ActivityInstance |
WorkflowRepository.findActivityInstance(ProcessInstance processInstance,
ActivityDefinition nextActivityDefinition,
UserReference receiver)
find the activity instance by definition and receiver
|
ProcessInstance |
WorkflowRepository.saveProcessInstance(ProcessInstance request)
save process instance
|
Copyright © 2017. All rights reserved.