I am migrating from Activiti 5.15.1 to Flowable 6.5.0, and get some issues with PVM classes. I read the guide here Flowable Migration Guide : Flowable or Activiti v5 to Flowable V6 · Flowable Open Source Documentation but still not have any idea to make use of bpmnModel and repositoryService. I got some issues as:
- I can get the activity name by doing like this:
Execution execution = ... ProcessDefinitionEntityImpl processDefinition = ... ActivityImpl activity = processDefinition.findActivity(execution.getActivityId()); String.valueOf(activity.getProperty("name"));
- I use the method findPropertyById in org.activiti.engine.impl.persistence.entity.PropertyEntityManager
How can I achieve these in Flowable 6?
Thanks for your help