We are trying to migrate our Flowable 5 codebase and we are hitting a number of blockers, suggestions would be appreciated:
- We used to use ProcessDefinitionEntity.setProperty during parse to set custom attributes, which we retrieved in a helper bean at runtime using this code:
ExecutionContext context = Context.getExecutionContext();
ProcessDefinitionEntity definition = context.getProcessDefinition();
get/setProperty came from the PVM class that has been removed. I don’t see anything obvious on BpmnModel that we could use to store custom key/value pairs… any suggestion?
In a FlowableEventListener, is
the correct replacement for
In Flowable 5 I used to set the configuration on the Context before building the engine:
_processEngine = cfg.buildProcessEngine();
… can I just skip that step?
- In a custom parse handler we used to define process variables directly on the process entity:
… in version 6 getVariables() returns null in that phase, what would be to correct alternative?