Add end event "flowtype-finish"