Drag a boundary event onto a task, drag the 'timer event definition' onto the bounary event, go to the properties panel (advanced tab), select the context menu associated with the event definition and there should be three repetitions of the menu items "Add Expression" and "Add Formal Expression".