update - 调整事件中 payload 模型,新增模型对应的消息模板配置信息
This commit is contained in:
parent
0d55de4f88
commit
3c9cd8941f
@ -88,7 +88,8 @@ public class RocketMqBpmnProcessEventListener implements BpmnProcessEventListene
|
|||||||
Deployment deployment =
|
Deployment deployment =
|
||||||
repositoryService.createDeploymentQuery().deploymentId(((ExecutionEntityImpl) event.getEntity()).getDeploymentId())
|
repositoryService.createDeploymentQuery().deploymentId(((ExecutionEntityImpl) event.getEntity()).getDeploymentId())
|
||||||
.singleResult();
|
.singleResult();
|
||||||
Process mainProcess = repositoryService.getBpmnModel(event.getProcessDefinitionId()).getMainProcess();
|
Process mainProcess =
|
||||||
|
repositoryService.getBpmnModel(((ExecutionEntityImpl) event.getEntity()).getProcessDefinitionId()).getMainProcess();
|
||||||
ProcessInstanceDTO dto = new ProcessInstanceDTO()
|
ProcessInstanceDTO dto = new ProcessInstanceDTO()
|
||||||
.setType(PROCESS_INSTANCE_STARTED)
|
.setType(PROCESS_INSTANCE_STARTED)
|
||||||
.setCategory(deployment.getCategory())
|
.setCategory(deployment.getCategory())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user