I would like to let users modify a Timer bpmn:StartEvent to a Timer bpmn:IntermediateCatchEvent, while keeping the existing properties, such as the timerEventDefinition and the timeCycle inner property, for instance.
I am using the bpmnReplace module, which works fine to change the type, except that the timerEventDefinition is lost.
However, a StartEvent can by spec not have the properties (such as timeCycle). If it had a timerEventDefinition it would not be a StartEvent anymore but a TimerStartEvent. Notice that a TimerStartEvent in BPMN is defined as following: