String topicName = topicMap.get(JobType.WORKFLOW.value);
if (topicName == null) {
topicName = defaultTopicName;
}
if (topicName.equals(TopicType.USER.value)) {
topicName = jpaService.execute(new WorkflowJobGetForUserJPAExecutor(jobId));
}
else if (topicName.equals(TopicType.JOBID.value)) {
topicName = jobId;
}
return topicName;