class JobDefinitionHelper {

    public String getActivitiJobDefinitionTemplate()
    {
        // Set the default Activiti Id tokenized template.
        // ~namespace~.~jobName~
        String defaultActivitiIdTemplate = getNamespaceToken() + "." + getJobNameToken();

        // Get the Activiti Id template from the environment, but use the default if one isn't configured.
        // This gives us the ability to customize/change the format post deployment.
        String template = configurationHelper.getProperty(ConfigurationValue.ACTIVITI_JOB_DEFINITION_ID_TEMPLATE);

        if (template == null)
        {
            template = defaultActivitiIdTemplate;
        }

        return template;
    }

}