templateData.put(_CREATOR, pi.getCreator());
if (hasText(cfg.getTemplateArgumentProvider())) {
for (TemplateArgumentProvider argumentProvider : argumentProviders) {
if (cfg.getTemplateArgumentProvider().equalsIgnoreCase(argumentProvider.getName())) {
TemplateArgumentProviderParams params = new TemplateArgumentProviderParams();
params.setProcessInstance(pi);
argumentProvider.getArguments(templateData, params);
break;
}
}
}