Bologna are through to the Serie B promotion play-off Final despite a dramatic 3-2 home defeat to Avellino.