Hi all, I need to implement my custom generator but I’d like to create different naming convention for different entity type.
I implemented an interface of ProcessEnginePlugin and overrided the following method but I can’t retrieve the entity type. Is it possible?
public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) {
processEngineConfiguration
.setIdGenerator(new CustomIdGenerator(processEngineConfiguration.getProcessEngineName()));
}
For Example:
PROCESS INSTANCE-ID: PI-8bee5c6f-3c6f-11e7-9f30-2e5520524153
PROCESS-DEFINITION-ID: PD-2bee5c6f-3c6f-11e7-9f30-2e5520522267
TASK-ID: TS-5bee5c6f-3c6f-11e7-9f30-2e5520524177
Regards
Luca