The official website for The Settlers of Catan

Question about “Cities & Knights” Expansion Progress Cards: Engineer - If I receive the Engineer card on the same turn a “7” is rolled, may I build a city wall before discarding cards?

Answer

No. You may play Progress Cards only after the dice result is resolved (only exception: Alchemist).