I have this piece of code :
List<ProcessInstance> instances = processEngine.getRuntimeService().createProcessInstanceQuery().processInstanceId(processInstanceId).list(); instances.forEach(this::listProcessInstance); private void listProcessInstance (ProcessInstance processInstance) { log.info("<-------------- ProcessInstance ---------------> {} ", processInstance); log.info(String.valueOf(processInstance.getProcessVariables())); log.info("<-------------- ProcessInstance --------------->"); } where ProcessVariables is null, but going on the tabla there are info:
select * from ACT_RU_VARIABLE where PROC_INST_ID_ = 76759; https://stackoverflow.com/questions/67215182/springboot-activiti-get-processvariables April 22, 2021 at 10:24PM
没有评论:
发表评论