getRuntimeService().signal()在Activit6的替代方法

官网-对版本迁移的描述
getRuntimeService().signal()在Activit6的替代方法_第1张图片

直奔主题:In version6,the signal() methods have been renamed to trigger().

ProcessInstance pi = processEngine.getRuntimeService().startProcessInstanceByKey(processDefinitionKey);
processEngine.getRuntimeService().signal(executionId)

改为

ProcessInstance pi = processEngine.getRuntimeService().startProcessInstanceByKey(processDefinitionKey);
processEngine.getRuntimeService().trigger(executionId);

你可能感兴趣的:(getRuntimeService().signal()在Activit6的替代方法)