String timeCycle = getPropertyValueAsString(PROPERTY_TIMER_CYCLE, objectNode);
String timeDuration = getPropertyValueAsString(PROPERTY_TIMER_DURATON, objectNode);
if (StringUtils.isNotEmpty(timeDate) || StringUtils.isNotEmpty(timeCycle) || StringUtils.isNotEmpty(timeDuration)) {
TimerEventDefinition eventDefinition = Bpmn2Factory.eINSTANCE.createTimerEventDefinition();// TimerEventDefinition();
if (StringUtils.isNotEmpty(timeDate)) {
eventDefinition.setTimeDate(BpmnModelUtil.getExpressionByString(timeDate));
} else if (StringUtils.isNotEmpty(timeCycle)) {
eventDefinition.setTimeCycle(BpmnModelUtil.getExpressionByString(timeCycle));
} else if (StringUtils.isNotEmpty(timeDuration)) {
eventDefinition.setTimeDuration(BpmnModelUtil.getExpressionByString(timeDuration));
}
if(event instanceof CatchEvent){
((CatchEvent)event).getEventDefinitions().add(eventDefinition);
}