Add subflow history support