Skip to interview prep
Apexed

57. What is a workflow invariant, and why can it be useful?

HardProcesses & models

Technical
Show model answer

It is a condition that must remain true across relevant states or transitions, such as not allocating the same unit twice under the agreed model. It helps express a constraint that a normal-case sequence alone might not reveal clearly.

I'd validate scope and exceptions and create representative checks. An invariant needs actual business and technical authority, not an attractive analytical assumption left untested against constraints and failure modes.

What interviewers listen for

  • State the condition and scope
  • Check across transitions
  • Validate authority and exceptional cases
What is a workflow invariant, and why can it be useful — Business analysis interview question — Apexed