public void execute(JobExecutionContext jobExecutionContext) {
LOGGER.info("executing...");
try {
JobDetail jobDetail = jobExecutionContext.getJobDetail();
JobDataMap jobDataMap = jobDetail.getJobDataMap();
<BUG>String jobId = jobDetail.getKey().getName();
String eventType = jobDataMap.getString(SchedulerConstants.EVENT_TYPE_KEY_NAME);</BUG>
Map<String, Object> params = jobDataMap.getWrappedMap();
params.remove(SchedulerConstants.EVENT_TYPE_KEY_NAME);
MotechEvent motechEvent = new MotechEvent(eventType, params);

public void execute(JobExecutionContext jobExecutionContext) {
LOGGER.info("executing...");
try {
JobDetail jobDetail = jobExecutionContext.getJobDetail();
JobDataMap jobDataMap = jobDetail.getJobDataMap();
String jobId = jobDetail.getKey().getName();
int index = jobId.indexOf("Retry") + "Retry".length();
String number = jobId.substring(index, index + 1);
jobId = jobId.replace(number, "");
String eventType = jobDataMap.getString(SchedulerConstants.EVENT_TYPE_KEY_NAME);
Map<String, Object> params = jobDataMap.getWrappedMap();
params.remove(SchedulerConstants.EVENT_TYPE_KEY_NAME);
MotechEvent motechEvent = new MotechEvent(eventType, params);
