Hi
I want to prefix all ids used by camunda with the engine name (I collect tasks from different engines in a separate app and need the engine name for back navigation).
I use a processEnginePlugin to overwrite the idGenerator in postInit() like this:
@Override
public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration) {
final IdGenerator idGenerator = processEngineConfiguration.getIdGenerator();
processEngineConfiguration.setIdGenerator(() -> applicationName + "-" + idGenerator.getNextId());
}
but this seems to have no impact on the taskId.
Ideas?
Jan
PS: merry christmas!