Both sentences are fine, and are future forms . The be + -ing form indicates an arranged task. The speaker places the departure between two points, one in the past when the arrangement was made and one in the future when the task is accomplished.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.